Prevent hash-table-p errors on startup
This commit is contained in:
parent
d8e7a2003b
commit
cb783b0609
1 changed files with 2 additions and 0 deletions
|
@ -83,6 +83,8 @@ non-nil."
|
||||||
(not (setq doom-modules nil))
|
(not (setq doom-modules nil))
|
||||||
(load! "init" doom-private-dir t))
|
(load! "init" doom-private-dir t))
|
||||||
(setq doom-init-modules-p t)
|
(setq doom-init-modules-p t)
|
||||||
|
(unless (hash-table-p doom-modules)
|
||||||
|
(setq doom-modules (make-hash-table :test 'equal)))
|
||||||
(maphash (lambda (key plist)
|
(maphash (lambda (key plist)
|
||||||
(let ((doom--current-module key)
|
(let ((doom--current-module key)
|
||||||
(doom--current-flags (plist-get plist :flags)))
|
(doom--current-flags (plist-get plist :flags)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue