summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2000-10-28 06:24:19 +0000
committerMiles Bader <miles@gnu.org>2000-10-28 06:24:19 +0000
commit3ffa67e03d983ef63c02b82584d98ab6f2a4f8c2 (patch)
tree7e8cf35b526a013c3e156c60b116c5b5ac74ef6e /lisp/emacs-lisp
parenteab6e8b99b0ecd035295de963b26bda463e9abf8 (diff)
downloademacs-3ffa67e03d983ef63c02b82584d98ab6f2a4f8c2.tar.gz
emacs-3ffa67e03d983ef63c02b82584d98ab6f2a4f8c2.tar.bz2
emacs-3ffa67e03d983ef63c02b82584d98ab6f2a4f8c2.zip
Doc fix.
Diffstat (limited to 'lisp/emacs-lisp')
-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."
(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.