aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/easy-mmode.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el
index 1089d81cd4d..cc2e7525f26 100644
--- a/lisp/emacs-lisp/easy-mmode.el
+++ b/lisp/emacs-lisp/easy-mmode.el
@@ -72,7 +72,9 @@ If provided LIGHTER will be used to help choose capitalization."
72(defmacro define-minor-mode (mode doc &optional init-value lighter keymap &rest body) 72(defmacro define-minor-mode (mode doc &optional init-value lighter keymap &rest body)
73 "Define a new minor mode MODE. 73 "Define a new minor mode MODE.
74This function defines the associated control variable MODE, keymap MODE-map, 74This function defines the associated control variable MODE, keymap MODE-map,
75toggle command MODE, and hook MODE-hook. 75toggle command MODE, and hook MODE-hook. If MODE is buffer-local, then
76turn-on-MODE and turn-off-MODE commands are also generated for use in hooks,
77and an optional global-MODE mode may also be generated.
76 78
77DOC is the documentation for the mode toggle command. 79DOC is the documentation for the mode toggle command.
78Optional INIT-VALUE is the initial value of the mode's variable. 80Optional INIT-VALUE is the initial value of the mode's variable.