emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] master d895f6c: Fix Edebug specs for 'cl-defmethod' an


From: Dmitry Gutov
Subject: Re: [Emacs-diffs] master d895f6c: Fix Edebug specs for 'cl-defmethod' and 'defmethod'
Date: Wed, 10 May 2017 17:24:33 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/20100101 Thunderbird/53.0

On 02.05.2017 17:08, Stefan Monnier wrote:
-             [ &optional keywordp ]     ; this is key :before etc
-             list                       ; arguments
+             [ &optional keywordp       ; this is key :before etc
+               &optional stringp ]      ; :extra can be followed by a string

Actually, there can be any number of non-lists between the function name
and the arg list.  So it should probably be more like [ &rest atom ] or
something like that.

By the way, do we want to support methods with zero arguments here? nil is an atom, and not a list.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]