changeset 106708:fecbb2b5a355

emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Make the lines in the generated doc string shorter. (Bug#4668)
author Eli Zaretskii <eliz@gnu.org>
date Sat, 02 Jan 2010 19:33:54 +0200
parents 51aa25e5e86b
children f497db0aba00
files lisp/ChangeLog lisp/emacs-lisp/easy-mmode.el
diffstat 2 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Jan 02 11:13:22 2010 -0500
+++ b/lisp/ChangeLog	Sat Jan 02 19:33:54 2010 +0200
@@ -1,3 +1,8 @@
+2010-01-02  Eli Zaretskii  <eliz@gnu.org>
+
+	* emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Make
+	the lines in the generated doc string shorter.  (Bug#4668)
+
 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
 
 	* net/rcirc.el: Add follow-link binding (Bug#4738).
--- a/lisp/emacs-lisp/easy-mmode.el	Sat Jan 02 11:13:22 2010 -0500
+++ b/lisp/emacs-lisp/easy-mmode.el	Sat Jan 02 19:33:54 2010 +0200
@@ -326,9 +326,13 @@
        (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)