mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
Allow minor modes to specify major modes they're useful in
This commit is contained in:
parent
3a4b65177f
commit
6a2cdc67fa
1 changed files with 5 additions and 0 deletions
|
|
@ -1730,6 +1730,11 @@ and @var{set} is a function of one argument (a state) that sets it.
|
|||
@item :after-hook @var{after-hook}
|
||||
This defines a single Lisp form which is evaluated after the mode hooks
|
||||
have run. It should not be quoted.
|
||||
|
||||
@item :interactive @var{value}
|
||||
Minor modes are interactive commands by default. If @var{value} is
|
||||
@code{nil}, this is inhibited. If @var{value} is a list of symbols,
|
||||
it's used to say which major modes this minor mode is useful in.
|
||||
@end table
|
||||
|
||||
Any other keyword arguments are passed directly to the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue