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