mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-18 16:06:56 -05:00
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.
This commit is contained in:
@@ -127,7 +127,7 @@ users).")
|
|||||||
|
|
||||||
(defvar doom-first-input-hook nil
|
(defvar doom-first-input-hook nil
|
||||||
"Transient hooks run before the first user input.")
|
"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
|
(defvar doom-first-file-hook nil
|
||||||
"Transient hooks run before the first interactively opened file.")
|
"Transient hooks run before the first interactively opened file.")
|
||||||
|
Reference in New Issue
Block a user