Commit a50878fa authored by Kevin Ryde's avatar Kevin Ryde Committed by Juri Linkov

* 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)
parent e1b9db1a
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment