summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2010-01-02 19:33:54 +0200
committerEli Zaretskii <eliz@gnu.org>2010-01-02 19:33:54 +0200
commitaf512b22434fe3faef5633293060778193eabe85 (patch)
treeaaff4933ecc36c0b8b34a0c49e0e9d7570ec9161 /lisp/emacs-lisp
parent1e8a67fc7296fb07f8f3b888e688af4c515a328f (diff)
downloademacs-af512b22434fe3faef5633293060778193eabe85.tar.gz
emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Make
the lines in the generated doc string shorter. (Bug#4668)
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/easy-mmode.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el
index bc97b07ddc3..704f8b15ebf 100644
--- a/lisp/emacs-lisp/easy-mmode.el
+++ b/lisp/emacs-lisp/easy-mmode.el
@@ -326,9 +326,13 @@ call another major mode in their body."
(make-variable-buffer-local ',MODE-major-mode)
;; The actual global minor-mode
(define-minor-mode ,global-mode
+ ;; Very short lines to avoid too long lines in the generated
+ ;; doc string.
,(format "Toggle %s in every possible buffer.
-With prefix ARG, turn %s on if and only if ARG is positive.
-%s is enabled in all buffers where `%s' would do it.
+With prefix ARG, turn %s on if and only if
+ARG is positive.
+%s is enabled in all buffers where
+\`%s' would do it.
See `%s' for more information on %s."
pretty-name pretty-global-name pretty-name turn-on
mode pretty-name)