Reset more state on doom/module initialization
Makes `doom/reload` a little more reliable and the side effects of `doom-initialize`/`doom-initialize-modules` a little more deterministic.
This commit is contained in:
parent
defd60b24b
commit
31eb845f6b
3 changed files with 22 additions and 5 deletions
|
@ -59,6 +59,7 @@ session of Dooming. Will noop if used more than once, unless FORCE-P is
|
|||
non-nil."
|
||||
(when (and (or force-p
|
||||
(not doom-init-modules-p))
|
||||
(not (setq doom-modules nil))
|
||||
(load! "init" doom-private-dir t))
|
||||
(setq doom-init-modules-p t)
|
||||
(maphash (lambda (key plist)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue