Refactor doom-run-all-startup-hooks-h

This commit is contained in:
Henrik Lissner 2019-11-07 18:51:12 -05:00
parent fbf9010c80
commit 9ef6ccb7cd
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -8,10 +8,10 @@
emacs -Q -l init.el -f doom-run-all-startup-hooks-h" emacs -Q -l init.el -f doom-run-all-startup-hooks-h"
(run-hook-wrapped 'after-init-hook #'doom-try-run-hook) (run-hook-wrapped 'after-init-hook #'doom-try-run-hook)
(setq after-init-time (current-time)) (setq after-init-time (current-time))
(dolist (hook (list 'delayed-warnings-hook (mapc (doom-rpartial #'run-hook-wrapped #'doom-try-run-hook)
'emacs-startup-hook 'term-setup-hook (list 'delayed-warnings-hook
'window-setup-hook)) 'emacs-startup-hook 'tty-setup-hook
(run-hook-wrapped hook #'doom-try-run-hook))) 'window-setup-hook)))
;; ;;