emacs-devel
[Top][All Lists]
Advanced

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

turn-on-...


From: Miles Bader
Subject: turn-on-...
Date: Fri, 27 Oct 2000 22:07:53 +0900 (JST)

Some minor modes, such as auto-fill-mode, have `turn-on-...'  functions
which unconditionally turn on the mode when called with no argument
(instead of toggling it like the primary mode function does).  These are
handy for putting into hook lists.

It seems trivial to have `define-minor-mode' generate these
`turn-on-...' (and presumably `turn-off-...' too, for completeness)
functions automatically, and it would be somewhat handy for the above
reason.

What do people think?

-Miles



reply via email to

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