From 2c1b0ccaf8fcc6ab81b55419e7f02e3dbd34f5d8 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 19 Jun 2018 00:47:20 +0200 Subject: [PATCH] Fix doom|run-all-startup-hooks Wasn't using doom-try-run-hook correctly. --- core/core.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/core.el b/core/core.el index e485a31d5..e0478d49d 100644 --- a/core/core.el +++ b/core/core.el @@ -302,10 +302,10 @@ 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" - (mapc #'doom-try-run-hook - (list 'after-init-hook 'delayed-warnings-hook - 'emacs-startup-hook 'term-setup-hook - 'window-setup-hook))) + (dolist (hook (list 'after-init-hook 'delayed-warnings-hook + 'emacs-startup-hook 'term-setup-hook + 'window-setup-hook)) + (run-hook-wrapped hook #'doom-try-run-hook))) ;;