Fix case where private init.el has no doom! block
This shouldn't error out. It's better if Doom ran normally, just without any of its modules activated. Addresses issue mentioned in #681
This commit is contained in:
parent
1f07b37c9c
commit
08a4701774
1 changed files with 5 additions and 0 deletions
|
@ -148,6 +148,11 @@ non-nil, return paths of possible modules, activated or otherwise."
|
|||
doom-init-modules-p)
|
||||
(message "Initializing modules")
|
||||
(doom-initialize-modules t)
|
||||
(unless doom-modules
|
||||
(setq doom-modules
|
||||
(make-hash-table :test #'equal
|
||||
:size 20
|
||||
:rehash-threshold 1.0)))
|
||||
doom-modules)))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue