From 76523c401f0e133649527e117b3e222487bb2790 Mon Sep 17 00:00:00 2001 From: Marien Zwart Date: Sat, 1 May 2021 23:49:10 +1000 Subject: [PATCH] Fix making doom-first-input-hook permanent-local We were making the value of doom-first-input-hook permanent-local instead of doom-first-input-hook itself. That value is normally nil at this point, which seems to be harmless. Reloading core.el from a script (while doom-first-input-hook is not empty) results in an error. Fix it by adding the missing quote present in the other calls. --- core/core.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core.el b/core/core.el index 675439597..2357026f5 100644 --- a/core/core.el +++ b/core/core.el @@ -127,7 +127,7 @@ users).") (defvar doom-first-input-hook nil "Transient hooks run before the first user input.") -(put doom-first-input-hook 'permanent-local t) +(put 'doom-first-input-hook 'permanent-local t) (defvar doom-first-file-hook nil "Transient hooks run before the first interactively opened file.")