mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
add-transient-hook!: fix indentation
This commit is contained in:
@ -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 _)
|
||||||
|
Reference in New Issue
Block a user