diff options
| -rw-r--r-- | lisp/emacs-lisp/easy-mmode.el | 4 |
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. |
| 74 | This function defines the associated control variable MODE, keymap MODE-map, | 74 | This function defines the associated control variable MODE, keymap MODE-map, |
| 75 | toggle command MODE, and hook MODE-hook. | 75 | toggle command MODE, and hook MODE-hook. If MODE is buffer-local, then |
| 76 | turn-on-MODE and turn-off-MODE commands are also generated for use in hooks, | ||
| 77 | and an optional global-MODE mode may also be generated. | ||
| 76 | 78 | ||
| 77 | DOC is the documentation for the mode toggle command. | 79 | DOC is the documentation for the mode toggle command. |
| 78 | Optional INIT-VALUE is the initial value of the mode's variable. | 80 | Optional INIT-VALUE is the initial value of the mode's variable. |