mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-07 23:10:28 -08:00
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.
This commit is contained in:
parent
167f47d202
commit
ee0dd3031c
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue