fix(lib): cmd!: remove superfluous macro declarations

These don't apply to macros anyway.
This commit is contained in:
Henrik Lissner
2024-12-03 17:45:34 -05:00
parent 82cfe98ccc
commit ea616ebd5b

View File

@ -632,7 +632,7 @@ minus font-locking and the outer function call, plus some minor optimizations."
"Returns (lambda () (interactive) ,@body)
A factory for quickly producing interaction commands, particularly for keybinds
or aliases."
(declare (doc-string 1) (pure t) (side-effect-free t))
(declare (doc-string 1))
`(lambda (&rest _) (interactive) ,@body))
(defmacro cmd!! (command &optional prefix-arg &rest args)