diff options
Diffstat (limited to 'lisp/emacs-lisp')
-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." (defmacro define-minor-mode (mode doc &optional init-value lighter keymap &rest body) "Define a new minor mode MODE. This function defines the associated control variable MODE, keymap MODE-map, -toggle command MODE, and hook MODE-hook. +toggle command MODE, and hook MODE-hook. If MODE is buffer-local, then +turn-on-MODE and turn-off-MODE commands are also generated for use in hooks, +and an optional global-MODE mode may also be generated. DOC is the documentation for the mode toggle command. Optional INIT-VALUE is the initial value of the mode's variable. |