[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: turning on minor modes from hooks
From: |
Richard Stallman |
Subject: |
Re: turning on minor modes from hooks |
Date: |
Tue, 01 Sep 2009 08:16:29 -0400 |
> What about some kind of enable-minor-mode function?
That's what a some minor modes already do, for example
`turn-on-eldoc-mode', `turn-on-follow-mode', or
`turn-on-gnus-dired-mode'. For some of them there's also a turn-off
command.
Maybe that's a good convention. If so, then probably things like
`define-minor-mode' should generate those functions automatically.
This approach defines functions in a profligate way.
It would be much better to do something simpler and more elegant.
- Re: turning on minor modes from hooks,
Richard Stallman <=