core-projects: quote doom-project-hook in def-project!

This commit is contained in:
Henrik Lissner 2017-03-25 02:09:09 -04:00
parent 2a377b44f1
commit ac5ad085dc

View file

@ -128,7 +128,7 @@ see if NAME should be activated.
:files ,files :files ,files
:when ,when)) :when ,when))
(add-hook! ,name (add-hook! ,name
(run-hook-with-args doom-project-hook ',name)) (run-hook-with-args 'doom-project-hook ',name))
,(when init-form ,(when init-form
`(add-transient-hook! ',(intern-soft (format "%s-hook" name)) `(add-transient-hook! ',(intern-soft (format "%s-hook" name))
,init-form))))) ,init-form)))))