]> git.eshelyaron.com Git - emacs.git/commitdiff
Doc fix.
authorMiles Bader <miles@gnu.org>
Sat, 28 Oct 2000 06:24:19 +0000 (06:24 +0000)
committerMiles Bader <miles@gnu.org>
Sat, 28 Oct 2000 06:24:19 +0000 (06:24 +0000)
lisp/emacs-lisp/easy-mmode.el

index 1089d81cd4d068beb14d3faad7d97f50b3573e46..cc2e7525f2682a504583bfaef2d2854d024fecae 100644 (file)
@@ -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.