mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Don't set doom-init-modules-p from doom-modules
Causes user config to not be loaded if doom-modules is used earlier.
This commit is contained in:
@ -481,9 +481,12 @@ This doesn't require modules to be enabled. For enabled modules us
|
||||
|
||||
(defun doom-modules (&optional refresh-p)
|
||||
"Minimally initialize `doom-modules' (a hash table) and return it."
|
||||
(let ((noninteractive t))
|
||||
(doom-initialize-modules refresh-p))
|
||||
doom-modules)
|
||||
(or (unless refresh-p doom-modules)
|
||||
(let ((noninteractive t)
|
||||
doom-init-modules-p)
|
||||
(message "Initializing modules")
|
||||
(doom-initialize-modules t)
|
||||
doom-modules)))
|
||||
|
||||
|
||||
;;
|
||||
|
Reference in New Issue
Block a user