help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: "fall-through" generic function args plus &context


From: Stefan Monnier
Subject: Re: "fall-through" generic function args plus &context
Date: Fri, 30 Dec 2016 09:26:28 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

>>> Also, so far as I can tell, the correct function signature for the
>>> defgeneric should be (&context (major-mode t)), is that correct?
>>> At least, that didn't raise any errors.
>> cl-defgeneric doesn't actually pay attention to the signature you provide.
> Heartbreaking!

But don't worry: it's still good for karma to put a good signature.


        Stefan




reply via email to

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