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:
parent
0d9c0e7f54
commit
baad7953bf
6 changed files with 26 additions and 18 deletions
|
@ -151,7 +151,7 @@ see if NAME should be activated.
|
|||
(add-hook! ,name
|
||||
(run-hook-with-args 'doom-project-hook ',name))
|
||||
,(when init-form
|
||||
`(add-transient-hook! ',(intern-soft (format "%s-hook" name))
|
||||
`(add-transient-hook! ',(intern (format "%s-hook" name))
|
||||
,init-form)))))
|
||||
|
||||
(provide 'core-projects)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue