1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-23 08:20:41 -08:00

Really fix the syntax problem in define-minor-mode

* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Fix
interactive extension in previous change.
This commit is contained in:
Lars Ingebrigtsen 2021-02-14 14:13:38 +01:00
parent 07e6b29b12
commit 869cdcf4e7

View file

@ -314,10 +314,10 @@ or call the function `%s'."))))
;; repeat-command still does the toggling correctly.
(if (consp interactive)
`(interactive
,interactive
(list (if current-prefix-arg
(prefix-numeric-value current-prefix-arg)
'toggle)))
'toggle))
,@interactive)
'(interactive (list (if current-prefix-arg
(prefix-numeric-value current-prefix-arg)
'toggle)))))