[Top][All Lists]

[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: Thu, 29 Dec 2016 09:42:41 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

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

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