aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2011-02-18 19:38:45 -0800
committerGlenn Morris2011-02-18 19:38:45 -0800
commit4d737eb2db5f2847106fa18713381a72895217e5 (patch)
tree57b39bdc2546046e890e5cdebfe7e43122f41b34
parent0d873e93b77d39afd834e80c9f05c3aeeadacee8 (diff)
downloademacs-4d737eb2db5f2847106fa18713381a72895217e5.tar.gz
emacs-4d737eb2db5f2847106fa18713381a72895217e5.zip
mule-diag.el fix for bug#8066.
* lisp/international/mule-diag.el (list-input-methods-1): Indent all lines of multi-line doc-strings.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/international/mule-diag.el5
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7fd32d19e3a..b4b2d687e85 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12011-02-19 Glenn Morris <rgm@gnu.org>
2
3 * international/mule-diag.el (list-input-methods-1):
4 Indent all lines of multi-line doc-strings. (Bug#8066)
5
12011-02-18 Chong Yidong <cyd@stupidchicken.com> 62011-02-18 Chong Yidong <cyd@stupidchicken.com>
2 7
3 Fix 2011-02-02 changes. 8 Fix 2011-02-02 changes.
diff --git a/lisp/international/mule-diag.el b/lisp/international/mule-diag.el
index 349430f0cd9..d9ac587231e 100644
--- a/lisp/international/mule-diag.el
+++ b/lisp/international/mule-diag.el
@@ -1056,7 +1056,10 @@ installed LEIM (Libraries of Emacs Input Methods).")
1056 (if (and (consp title) (stringp (car title))) 1056 (if (and (consp title) (stringp (car title)))
1057 (car title) 1057 (car title)
1058 title)) 1058 title))
1059 (nth 4 elt))))))) 1059 ;; If the doc is multi-line, indent all
1060 ;; non-blank lines. (Bug#8066)
1061 (replace-regexp-in-string "\n\\(.\\)" "\n \\1"
1062 (or (nth 4 elt) ""))))))))
1060 1063
1061;;; DIAGNOSIS 1064;;; DIAGNOSIS
1062 1065