From 460a25f2127390ace71e7dd7b5f079efa07c99d7 Mon Sep 17 00:00:00 2001 From: Gemini Lasswell Date: Wed, 1 Nov 2017 17:07:40 -0700 Subject: [PATCH] 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). --- lisp/emacs-lisp/cl-generic.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.39.2