mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* help-mode.el (help-make-xrefs): For Info node links turn
newlines into spaces. Link node names with newlines are matched by help-xref-info-regexp and buttonized, this change ensures they can be followed successfully with RET. (Bug#6206)
This commit is contained in:
parent
e1b9db1a25
commit
a50878fabd
2 changed files with 10 additions and 1 deletions
|
|
@ -1,3 +1,10 @@
|
|||
2010-05-20 Kevin Ryde <user42@zip.com.au>
|
||||
|
||||
* help-mode.el (help-make-xrefs): For Info node links turn
|
||||
newlines into spaces. Link node names with newlines are matched
|
||||
by help-xref-info-regexp and buttonized, this change ensures they
|
||||
can be followed successfully with RET. (Bug#6206)
|
||||
|
||||
2010-05-20 Juri Linkov <juri@jurta.org>
|
||||
|
||||
* locate.el (locate): Use pop-to-buffer instead of
|
||||
|
|
|
|||
|
|
@ -433,7 +433,9 @@ that."
|
|||
(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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue