[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.
Stefan
- "fall-through" generic function args plus &context, Eric Abrahamsen, 2016/12/26
- Re: "fall-through" generic function args plus &context, Eric Abrahamsen, 2016/12/26
- Re: "fall-through" generic function args plus &context, Stefan Monnier, 2016/12/27
- Re: "fall-through" generic function args plus &context, Eric Abrahamsen, 2016/12/27
- Re: "fall-through" generic function args plus &context, Stefan Monnier, 2016/12/28
- Re: "fall-through" generic function args plus &context, Eric Abrahamsen, 2016/12/29
- Re: "fall-through" generic function args plus &context,
Stefan Monnier <=
- Re: "fall-through" generic function args plus &context, Eric Abrahamsen, 2016/12/30
- Re: "fall-through" generic function args plus &context, Stefan Monnier, 2016/12/30
Re: "fall-through" generic function args plus &context, Stefan Monnier, 2016/12/26