emacs-devel
[Top][All Lists]
Advanced

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

Re: Keywords supported by define-minor-mode


From: Eli Zaretskii
Subject: Re: Keywords supported by define-minor-mode
Date: Mon, 28 Mar 2016 19:05:20 +0300

> From: Stefan Monnier <address@hidden>
> Cc: address@hidden
> Date: Mon, 28 Mar 2016 11:50:08 -0400
> 
> >> (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.

All I'm saying is that the doc string of define-minor-mode and the
manual text about it might be more user-friendly if they described
those keywords right there, from the POV of the mode author.



reply via email to

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