aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2001-01-25 15:31:14 +0000
committerStefan Monnier2001-01-25 15:31:14 +0000
commita2ed96700bf6b23edd41c8d5b7fdb69af48b5c0c (patch)
tree0388de75e7ed2ab4e53377ffda767dbb57057c48
parent7acd9c90e9ccb19de168f921ffc01d8c6537933f (diff)
downloademacs-a2ed96700bf6b23edd41c8d5b7fdb69af48b5c0c.tar.gz
emacs-a2ed96700bf6b23edd41c8d5b7fdb69af48b5c0c.zip
(define-minor-mode): Docstring fix.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/emacs-lisp/easy-mmode.el4
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 756c7aa7ae5..15fdc31cc10 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12001-01-25 Stefan Monnier <monnier@cs.yale.edu>
2
3 * emacs-lisp/easy-mmode.el (define-minor-mode): Docstring fix.
4
12001-01-25 Dave Love <fx@gnu.org> 52001-01-25 Dave Love <fx@gnu.org>
2 6
3 * loadup.el: Preload international/ccl for utf-8. 7 * loadup.el: Preload international/ccl for utf-8.
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el
index 87ce0cc9c22..0c0d50a3ac9 100644
--- a/lisp/emacs-lisp/easy-mmode.el
+++ b/lisp/emacs-lisp/easy-mmode.el
@@ -144,14 +144,14 @@ BODY contains code that will be executed each time the mode is (dis)activated.
144 ,(if (not globalp) 144 ,(if (not globalp)
145 `(progn 145 `(progn
146 (defvar ,mode ,init-value ,(format "Non-nil if %s is enabled. 146 (defvar ,mode ,init-value ,(format "Non-nil if %s is enabled.
147Use the function `%s' to change this variable." pretty-name mode)) 147Use the command `%s' to change this variable." pretty-name mode))
148 (make-variable-buffer-local ',mode)) 148 (make-variable-buffer-local ',mode))
149 149
150 (let ((curfile (or (and (boundp 'byte-compile-current-file) 150 (let ((curfile (or (and (boundp 'byte-compile-current-file)
151 byte-compile-current-file) 151 byte-compile-current-file)
152 load-file-name))) 152 load-file-name)))
153 `(defcustom ,mode ,init-value 153 `(defcustom ,mode ,init-value
154 ,(format "Toggle %s on or off. 154 ,(format "Non-nil if %s is enabled.
155See the command `%s' for a description of this minor-mode. 155See the command `%s' for a description of this minor-mode.
156Setting this variable directly does not take effect; 156Setting this variable directly does not take effect;
157use either \\[customize] or the function `%s'." 157use either \\[customize] or the function `%s'."