If an init-hook dies in the forest, does it make a sound?

This commit is contained in:
Henrik Lissner 2017-06-12 15:15:39 +02:00
parent 042da73d5d
commit 3031212a76
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -179,8 +179,9 @@ enable multiple minor modes for the same regexp.")
(defun doom|finalize ()
(unless doom-init-p
(run-hooks 'doom-init-hook)
(run-hooks 'doom-post-init-hook)
(with-demoted-errors "INIT ERROR: %s"
(run-hooks 'doom-init-hook)
(run-hooks 'doom-post-init-hook))
;; Don't keep gc-cons-threshold too high. It helps to stave off the GC while
;; Emacs starts up, but afterwards it causes stuttering and random freezes.