From: Gemini Lasswell Date: Thu, 2 Nov 2017 00:07:40 +0000 (-0700) Subject: Handle generic variables in cl-defgeneric Edebug spec X-Git-Tag: emacs-26.0.91~417 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=460a25f2127390ace71e7dd7b5f079efa07c99d7;p=emacs.git 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). --- diff --git a/lisp/emacs-lisp/cl-generic.el b/lisp/emacs-lisp/cl-generic.el index 62befd4742a..00278996792 100644 --- a/lisp/emacs-lisp/cl-generic.el +++ b/lisp/emacs-lisp/cl-generic.el @@ -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)