From: Dmitry Gutov Date: Fri, 5 May 2017 00:43:07 +0000 (+0300) Subject: cl-defmethod: Make the edebug spec more technically correct X-Git-Tag: emacs-26.0.90~521^2~467 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ee0dd3031cd521f54c08287f4a3e7bc3ee515f55;p=emacs.git cl-defmethod: Make the edebug spec more technically correct * lisp/emacs-lisp/cl-generic.el (cl-defmethod): Denote the edebug spec part for qualifiers as [&rest atom], per http://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00053.html. --- diff --git a/lisp/emacs-lisp/cl-generic.el b/lisp/emacs-lisp/cl-generic.el index 107d520b1e9..068f4fb0c84 100644 --- a/lisp/emacs-lisp/cl-generic.el +++ b/lisp/emacs-lisp/cl-generic.el @@ -415,8 +415,9 @@ The set of acceptable TYPEs (also called \"specializers\") is defined (&define ; this means we are defining something [&or symbolp ("setf" symbolp)] ;; ^^ This is the methods symbol - [ &optional keywordp ; this is key :before etc - &optional stringp ] ; :extra can be followed by a string + [ &rest atom ] ; Multiple qualifiers are allowed. + ; Like in CLOS spec, we support + ; any non-list values. listp ; arguments [ &optional stringp ] ; documentation string def-body))) ; part to be debugged