mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Refactor doom-run-all-startup-hooks-h
This commit is contained in:
@ -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)))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user