From cb783b0609cea2bf98e74a09d6a89bbaa7d688ca Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 2 Jul 2019 23:15:19 +0200 Subject: [PATCH] Prevent hash-table-p errors on startup --- core/core-modules.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/core-modules.el b/core/core-modules.el index 37106f768..671d864ba 100644 --- a/core/core-modules.el +++ b/core/core-modules.el @@ -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)))