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:
parent
07e6b29b12
commit
869cdcf4e7
1 changed files with 2 additions and 2 deletions
|
@ -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)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue