mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-26 16:41:04 -05:00
Add early-init-file support to doom/profile-emacs #788
And fix wrong-type-argument: stringp errors when running esup. Also ensure that doom|run-all-startup-hooks sets after-init-time.
This commit is contained in:
@@ -300,7 +300,9 @@ If RETURN-P, return the message as a string instead of displaying it."
|
||||
-q or -Q, for example:
|
||||
|
||||
emacs -Q -l init.el -f doom|run-all-startup-hooks"
|
||||
(dolist (hook (list 'after-init-hook 'delayed-warnings-hook
|
||||
(run-hook-wrapped 'after-init-hook #'doom-try-run-hook)
|
||||
(setq after-init-time (current-time))
|
||||
(dolist (hook (list 'delayed-warnings-hook
|
||||
'emacs-startup-hook 'term-setup-hook
|
||||
'window-setup-hook))
|
||||
(run-hook-wrapped hook #'doom-try-run-hook)))
|
||||
|
Reference in New Issue
Block a user