Fix wrong-type-arg hash-table-p error
In the rare case your private init.el has no doom! block.
This commit is contained in:
parent
36044fccc9
commit
cbad18bf95
|
@ -40,6 +40,9 @@ non-nil."
|
|||
(setq doom-init-modules-p t)
|
||||
|
||||
(load! "init" doom-private-dir t)
|
||||
(unless doom-modules
|
||||
(setq doom-modules (make-hash-table :test #'equal)))
|
||||
|
||||
(maphash (lambda (key plist)
|
||||
(let ((doom--current-module key)
|
||||
(doom--current-flags (plist-get plist :flags)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user