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))))))