mule-diag.el fix for bug#8066.

* lisp/international/mule-diag.el (list-input-methods-1):
Indent all lines of multi-line doc-strings.
This commit is contained in:
Glenn Morris 2011-02-18 19:38:45 -08:00
parent 0d873e93b7
commit 4d737eb2db
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-02-19 Glenn Morris <rgm@gnu.org>
* international/mule-diag.el (list-input-methods-1):
Indent all lines of multi-line doc-strings. (Bug#8066)
2011-02-18 Chong Yidong <cyd@stupidchicken.com>
Fix 2011-02-02 changes.

View file

@ -1056,7 +1056,10 @@ installed LEIM (Libraries of Emacs Input Methods).")
(if (and (consp title) (stringp (car title)))
(car title)
title))
(nth 4 elt)))))))
;; If the doc is multi-line, indent all
;; non-blank lines. (Bug#8066)
(replace-regexp-in-string "\n\\(.\\)" "\n \\1"
(or (nth 4 elt) ""))))))))
;;; DIAGNOSIS