mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -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)))
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user