[Top][All Lists]

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

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

From: Eric Abrahamsen
Subject: Re: "fall-through" generic function args plus &context
Date: Thu, 29 Dec 2016 11:04:45 -0800
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/26.0.50 (gnu/linux)

Stefan Monnier <> writes:

>> Perhaps fundamental-mode should work, but I intuitively tried (&context
>> (major-mode nil)) and (&context (major-mode t)).
> By "should" I meant that it's a bug that neither works.

Right, I got that. I'll open a bug report.

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



reply via email to

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