[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master ee0dd30: cl-defmethod: Make the edebug spec more te
From: |
Dmitry Gutov |
Subject: |
[Emacs-diffs] master ee0dd30: cl-defmethod: Make the edebug spec more technically correct |
Date: |
Thu, 4 May 2017 20:43:53 -0400 (EDT) |
branch: master
commit ee0dd3031cd521f54c08287f4a3e7bc3ee515f55
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
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.
---
lisp/emacs-lisp/cl-generic.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/emacs-lisp/cl-generic.el b/lisp/emacs-lisp/cl-generic.el
index 107d520..068f4fb 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master ee0dd30: cl-defmethod: Make the edebug spec more technically correct,
Dmitry Gutov <=