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: Stefan Monnier
Subject: Re: Warning: Non-symbol arguments to cl-defgeneric
Date: Sat, 09 Jul 2022 11:33:50 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> (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).


        Stefan




reply via email to

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