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

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

bug#11301: 24.1.50; `define-minor-mode' should set `custom-mode-group' a


From: Stefan Monnier
Subject: bug#11301: 24.1.50; `define-minor-mode' should set `custom-mode-group' according to :group
Date: Thu, 03 Jun 2021 09:20:44 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lars Ingebrigtsen [2021-06-03 09:45:34] wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> Since the `:group` was only used for the `defcustom`, I just removed
>> this special handling.  It doesn't mean it doesn't work any more, but
>> now it's just another one of the keyword args that are simply passed
>> as-is to `defcustom`.
>
> Ah, I see.  But it seems like `define-minor-mode' just discards :group
> now.  Here's a test case:

The "extra args for decustom" are only used when define-minor-mode uses
a defcustom, i.e. only for global minor modes.


        Stefan






reply via email to

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