changeset 33001:eaa4842c7037

Doc fix.
author Miles Bader <miles@gnu.org>
date Sat, 28 Oct 2000 06:24:19 +0000
parents ab3f9a850b5f
children f0deca352ce9
files lisp/emacs-lisp/easy-mmode.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/easy-mmode.el	Sat Oct 28 06:07:30 2000 +0000
+++ b/lisp/emacs-lisp/easy-mmode.el	Sat Oct 28 06:24:19 2000 +0000
@@ -72,7 +72,9 @@
 (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.