Fix hash-table-p and format type errors on blank startup

This commit is contained in:
Henrik Lissner
2018-05-25 01:26:24 +02:00
parent 843c4d085f
commit 2990d5bd58

View File

@ -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 ;; load-path are concerned, but I don't mind a [small] margin of
;; error in the plugin count in exchange for faster startup. ;; error in the plugin count in exchange for faster startup.
(- (length load-path) (length doom-site-load-path)) (- (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 (or doom-init-time
(setq doom-init-time (float-time (time-subtract (current-time) before-init-time)))))) (setq doom-init-time (float-time (time-subtract (current-time) before-init-time))))))