mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -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)
|
(defun doom-modules (&optional refresh-p)
|
||||||
"Minimally initialize `doom-modules' (a hash table) and return it."
|
"Minimally initialize `doom-modules' (a hash table) and return it."
|
||||||
(let ((noninteractive t))
|
(or (unless refresh-p doom-modules)
|
||||||
(doom-initialize-modules refresh-p))
|
(let ((noninteractive t)
|
||||||
doom-modules)
|
doom-init-modules-p)
|
||||||
|
(message "Initializing modules")
|
||||||
|
(doom-initialize-modules t)
|
||||||
|
doom-modules)))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user