Prevent hash-table-p errors on startup

This commit is contained in:
Henrik Lissner 2019-07-02 23:15:19 +02:00
parent d8e7a2003b
commit cb783b0609
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -83,6 +83,8 @@ non-nil."
(not (setq doom-modules nil))
(load! "init" doom-private-dir 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)
(let ((doom--current-module key)
(doom--current-flags (plist-get plist :flags)))