bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6206: 23.1; docstring info node links with newlines


From: Andreas Schwab
Subject: bug#6206: 23.1; docstring info node links with newlines
Date: Tue, 18 May 2010 11:01:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Kevin Ryde <user42@zip.com.au> writes:

> --- help-mode.el.~1.71.~      2009-11-17 10:41:35.000000000 +1100
> +++ help-mode.el      2010-05-18 10:39:27.000000000 +1000
> @@ -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 "\n" " " data t t)))

Should this also handle indentation?  (Info generally does.)

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]