summaryrefslogtreecommitdiff
path: root/lisp/info.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2004-04-12 04:46:47 +0000
committerJuri Linkov <juri@jurta.org>2004-04-12 04:46:47 +0000
commitcd478f3d3746bd91909d56b0da5a1de851c0f935 (patch)
tree29d9c9ec27eba1a12074bade3f5da19172f99b50 /lisp/info.el
parent0610f22fb4c9787363dd2d63ed8e5395d44589f4 (diff)
downloademacs-cd478f3d3746bd91909d56b0da5a1de851c0f935.tar.gz
(Info-follow-reference): Allow multiline reference name.
Diffstat (limited to 'lisp/info.el')
-rw-r--r--lisp/info.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/info.el b/lisp/info.el
index 4a05da999d4..34ec499d542 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -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