From af414f10d8a0cb08603da190612fe176e7a9f93c Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 2 Jan 2010 19:33:54 +0200 Subject: emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Make the lines in the generated doc string shorter. (Bug#4668) --- lisp/emacs-lisp/easy-mmode.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lisp/emacs-lisp') 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) -- cgit v1.2.3