[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Keywords supported by define-minor-mode
From: |
Stefan Monnier |
Subject: |
Re: Keywords supported by define-minor-mode |
Date: |
Mon, 28 Mar 2016 11:50:08 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
>> > :extra-args
>> > :set
>> > :initialize
>> > :type
>>
>> The latter three are covered by this part of the docstring:
>>
>> (other keywords are passed to ‘defcustom’ if
>> the minor mode is global)
> Yes, but defcustom's documentation is monstrously large, and doesn't
> always make sense to someone who just wants to define a minor mode,
> easily.
Might be true. But :set, :initialize, and :type are more important for
defcustom than for define-minor-mode, so it'd be more beneficial to
address the issue on defcustom's side than on define-minor-mode side.
> And it still leaves :extra-args.
Yes.
Stefan