]> git.eshelyaron.com Git - emacs.git/commitdiff
Adjust the edebug spec for `interactive'
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 17 Feb 2021 19:59:44 +0000 (20:59 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 17 Feb 2021 19:59:44 +0000 (20:59 +0100)
* lisp/emacs-lisp/edebug.el: Adjust the edebug spec for
`interactive' for the new syntax.

lisp/emacs-lisp/edebug.el

index 7fae4d21d50ab0a28748d84f7b6e1d37baa2c9e5..45996945948255fb67ca51e61c66566433489663 100644 (file)
@@ -2136,7 +2136,8 @@ SPEC is the symbol name prefix for `gensym'."
        ;; more convenient to define their Edebug spec here.
        (defun ( &define name lambda-list lambda-doc
                [&optional ("declare" def-declarations)]
-               [&optional ("interactive" &optional &or stringp def-form)]
+               [&optional ("interactive" &optional [&or stringp def-form]
+                            &rest symbolp)]
                def-body))
 
        (defmacro ( &define name lambda-list lambda-doc
@@ -2192,7 +2193,8 @@ SPEC is the symbol name prefix for `gensym'."
   '(&optional [&or stringp
                    (&define ":documentation" def-form)]))
 
-(def-edebug-elem-spec 'interactive '(&optional &or stringp def-form))
+(def-edebug-elem-spec 'interactive '(&optional [&or stringp def-form]
+                                               &rest symbolp))
 
 ;; A function-form is for an argument that may be a function or a form.
 ;; This specially recognizes anonymous functions quoted with quote.