aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/descr-text.el5
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0927ff478c2..a5ca53e9f4a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12011-09-29 Juanma Barranquero <lekktu@gmail.com>
2
3 * descr-text.el (describe-char-categories): Accept category
4 descriptions more than one line long.
5
12011-09-28 Stefan Monnier <monnier@iro.umontreal.ca> 62011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * simple.el (delete-trailing-whitespace): Fix last change. 8 * simple.el (delete-trailing-whitespace): Fix last change.
diff --git a/lisp/descr-text.el b/lisp/descr-text.el
index fca06adb2a9..7d267cec480 100644
--- a/lisp/descr-text.el
+++ b/lisp/descr-text.el
@@ -366,9 +366,10 @@ This function is semi-obsolete. Use `get-char-code-property'."
366 (list (mapconcat 366 (list (mapconcat
367 (lambda (x) 367 (lambda (x)
368 (let* ((c (category-docstring x)) 368 (let* ((c (category-docstring x))
369 (doc (if (string-match "\\`\\(.*?\\)\n\\(.*\\)\\'" c) 369 (doc (if (string-match "\\`\\(.*?\\)\n" c)
370 (propertize (match-string 1 c) 370 (propertize (match-string 1 c)
371 'help-echo (match-string 2 c)) 371 'help-echo
372 (substring c (1+ (match-end 1))))
372 c))) 373 c)))
373 (format "%c:%s" x doc))) 374 (format "%c:%s" x doc)))
374 mnemonics ", "))))) 375 mnemonics ", ")))))