1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-04 11:40:22 +00:00

(Info-follow-reference): Allow multiline reference name.

This commit is contained in:
Juri Linkov 2004-04-12 04:46:47 +00:00
parent 0610f22fb4
commit cd478f3d37
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-04-12 Juri Linkov <juri@jurta.org>
* info.el (Info-follow-reference): Allow multiline reference name.
2004-04-11 Dave Love <fx@gnu.org>
* progmodes/python.el: New file.

View File

@ -1840,7 +1840,8 @@ new buffer."
(if (and (save-excursion
(goto-char (+ (point) 5)) ; skip a possible *note
(re-search-backward "\\*note[ \n\t]+" nil t)
(looking-at (concat "\\*note[ \n\t]+" (Info-following-node-name-re))))
(looking-at (concat "\\*note[ \n\t]+"
(Info-following-node-name-re "^.,\t"))))
(<= (point) (match-end 0)))
(goto-char (match-beginning 0))))
;; Go to the reference closest to point