aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/lispref/modes.texi10
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.
1522Use @code{:group @var{group}} in @var{keyword-args} to specify the 1522Use @code{:group @var{group}} in @var{keyword-args} to specify the
1523custom group for the mode variable of the global minor mode. 1523custom group for the mode variable of the global minor mode.
1524 1524
1525When you define a globalized minor mode, you should generally also 1525Generally speaking, when you define a globalized minor mode, you should
1526define a non-globalized version to toggle the mode on an individual 1526also define a non-globalized version, so that people can use (or
1527buffer basis. This allows users to disable a globally enabled minor 1527disable) it in individual buffers. This also allows them to disable a
1528mode in a specific major mode if they wish, by deactivating the local 1528globally enabled minor mode in a specific major mode, by using that
1529minor mode in the major mode's hook. 1529mode's hook.
1530@end defmac 1530@end defmac
1531 1531
1532 1532