emacs-devel
[Top][All Lists]
Advanced

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

Re: Warning: Non-symbol arguments to cl-defgeneric


From: Stephen Leake
Subject: Re: Warning: Non-symbol arguments to cl-defgeneric
Date: Sat, 09 Jul 2022 16:40:59 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (windows-nt)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> (cl-defgeneric wisi-parser-transaction-log-buffer-name ((parser wisi-parser))
>>   "Return a buffer name for the transaction log buffer.")
>
> The arglist here puts a `wisi-parser` specializer on the arg.
> That's something you can do in `cl-defmethod` but not in `cl-defgeneric`
> (where you can only specify the general shape of the arglist).

Ah, right. Thanks. That does fix the problem.

-- 
-- Stephe



reply via email to

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