Handle generic variables in cl-defgeneric Edebug spec
*lisp/emacs-lisp/cl-generic.el (cl-defgeneric): Fix Edebug spec to match (setf name) and replace incorrect cl-lambda-list with listp (Bug#27747).
This commit is contained in:
parent
dc0a25c2f9
commit
460a25f212
1 changed files with 2 additions and 1 deletions
|
@ -206,7 +206,8 @@ DEFAULT-BODY, if present, is used as the body of a default method.
|
|||
\(fn NAME ARGS [DOC-STRING] [OPTIONS-AND-METHODS...] &rest DEFAULT-BODY)"
|
||||
(declare (indent 2) (doc-string 3)
|
||||
(debug
|
||||
(&define name cl-lambda-list lambda-doc
|
||||
(&define [&or name ("setf" name :name setf)] listp
|
||||
lambda-doc
|
||||
[&rest [&or
|
||||
("declare" &rest sexp)
|
||||
(":argument-precedence-order" &rest sexp)
|
||||
|
|
Loading…
Add table
Reference in a new issue