mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-27 14:23:43 -05:00
Breaking change: rewrite add-transient-hook!
HOOK is now evaluated. Hooks should be quoted (and functions
sharp-quoted).
This also fixes commit 0150f78e
.
This commit is contained in:
@@ -151,7 +151,7 @@ see if NAME should be activated.
|
||||
:when ,when))
|
||||
(add-hook! ,name
|
||||
(run-hook-with-args 'doom-project-hook ',name))
|
||||
,(when init-form
|
||||
,(when init-form
|
||||
`(add-transient-hook! ',(intern (format "%s-hook" name))
|
||||
,init-form)))))
|
||||
|
||||
|
Reference in New Issue
Block a user