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:
parent
f02156286b
commit
6f98aeebfb
1 changed files with 6 additions and 3 deletions
|
@ -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)))
|
||||
|
||||
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue