Reword previous change.
This commit is contained in:
parent
78cef87789
commit
cf46a8ffcc
1 changed files with 5 additions and 5 deletions
|
@ -1522,11 +1522,11 @@ starts, for example by providing a @code{:require} keyword.
|
|||
Use @code{:group @var{group}} in @var{keyword-args} to specify the
|
||||
custom group for the mode variable of the global minor mode.
|
||||
|
||||
When you define a globalized minor mode, you should generally also
|
||||
define a non-globalized version to toggle the mode on an individual
|
||||
buffer basis. This allows users to disable a globally enabled minor
|
||||
mode in a specific major mode if they wish, by deactivating the local
|
||||
minor mode in the major mode's hook.
|
||||
Generally speaking, when you define a globalized minor mode, you should
|
||||
also define a non-globalized version, so that people can use (or
|
||||
disable) it in individual buffers. This also allows them to disable a
|
||||
globally enabled minor mode in a specific major mode, by using that
|
||||
mode's hook.
|
||||
@end defmac
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue