add-transient-hook!: fix indentation

This commit is contained in:
Henrik Lissner 2017-03-02 18:22:37 -05:00
parent 3ac1d382be
commit 0a39aa64d1

View file

@ -102,6 +102,7 @@ compilation."
"Attaches transient forms to a hook (can also be a function, which will be "Attaches transient forms to a hook (can also be a function, which will be
advised instead). These forms will be evaluated only once when that advised instead). These forms will be evaluated only once when that
function/hook is first invoked, then it detaches itself." function/hook is first invoked, then it detaches itself."
(declare (indent 1))
(let ((fn (intern (format "doom--transient-hook-%s" hook)))) (let ((fn (intern (format "doom--transient-hook-%s" hook))))
`(progn `(progn
(defun ,fn (&rest _) (defun ,fn (&rest _)