From 2990d5bd586f6367f094321c99c2d3b8807a2765 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 25 May 2018 01:26:24 +0200 Subject: [PATCH] Fix hash-table-p and format type errors on blank startup --- core/core-packages.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-packages.el b/core/core-packages.el index 124169d27..d939135c9 100644 --- a/core/core-packages.el +++ b/core/core-packages.el @@ -155,7 +155,7 @@ If RETURN-P, return the message as a string instead of displaying it." ;; load-path are concerned, but I don't mind a [small] margin of ;; error in the plugin count in exchange for faster startup. (- (length load-path) (length doom-site-load-path)) - (hash-table-count doom-modules) + (if doom-modules (hash-table-count doom-modules) 0) (or doom-init-time (setq doom-init-time (float-time (time-subtract (current-time) before-init-time))))))