diff options
| -rw-r--r-- | doc/lispref/modes.texi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index 6f99ddc3972..f8a21e003e0 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi | |||
| @@ -1522,11 +1522,11 @@ starts, for example by providing a @code{:require} keyword. | |||
| 1522 | Use @code{:group @var{group}} in @var{keyword-args} to specify the | 1522 | Use @code{:group @var{group}} in @var{keyword-args} to specify the |
| 1523 | custom group for the mode variable of the global minor mode. | 1523 | custom group for the mode variable of the global minor mode. |
| 1524 | 1524 | ||
| 1525 | When you define a globalized minor mode, you should generally also | 1525 | Generally speaking, when you define a globalized minor mode, you should |
| 1526 | define a non-globalized version to toggle the mode on an individual | 1526 | also define a non-globalized version, so that people can use (or |
| 1527 | buffer basis. This allows users to disable a globally enabled minor | 1527 | disable) it in individual buffers. This also allows them to disable a |
| 1528 | mode in a specific major mode if they wish, by deactivating the local | 1528 | globally enabled minor mode in a specific major mode, by using that |
| 1529 | minor mode in the major mode's hook. | 1529 | mode's hook. |
| 1530 | @end defmac | 1530 | @end defmac |
| 1531 | 1531 | ||
| 1532 | 1532 | ||