diff lisp/help-mode.el @ 108760:f528b6459bdd

merge trunk
author Kenichi Handa <handa@etlken>
date Tue, 25 May 2010 09:35:50 +0900
parents 57f3f40827c1
children 35894ae393bb
line wrap: on
line diff
--- a/lisp/help-mode.el	Tue May 25 09:32:24 2010 +0900
+++ b/lisp/help-mode.el	Tue May 25 09:35:50 2010 +0900
@@ -433,7 +433,9 @@
                     (let ((data (match-string 2)))
                       (save-match-data
                         (unless (string-match "^([^)]+)" data)
-                          (setq data (concat "(emacs)" data))))
+                          (setq data (concat "(emacs)" data)))
+			(setq data ;; possible newlines if para filled
+			      (replace-regexp-in-string "[ \t\n]+" " " data t t)))
                       (help-xref-button 2 'help-info data))))
                 ;; URLs
                 (save-excursion