changeset 54809:b700f60328cd

(Info-follow-reference): Allow multiline reference name.
author Juri Linkov <juri@jurta.org>
date Mon, 12 Apr 2004 04:46:13 +0000
parents 795d79cea402
children ed7ace8b3f1a
files lisp/info.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/info.el	Mon Apr 12 04:44:19 2004 +0000
+++ b/lisp/info.el	Mon Apr 12 04:46:13 2004 +0000
@@ -1840,7 +1840,8 @@
           (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