aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2004-04-12 04:46:47 +0000
committerJuri Linkov2004-04-12 04:46:47 +0000
commitcd478f3d3746bd91909d56b0da5a1de851c0f935 (patch)
tree29d9c9ec27eba1a12074bade3f5da19172f99b50
parent0610f22fb4c9787363dd2d63ed8e5395d44589f4 (diff)
downloademacs-cd478f3d3746bd91909d56b0da5a1de851c0f935.tar.gz
emacs-cd478f3d3746bd91909d56b0da5a1de851c0f935.zip
(Info-follow-reference): Allow multiline reference name.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/info.el3
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e3278b94669..d21206628e2 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12004-04-12 Juri Linkov <juri@jurta.org>
2
3 * info.el (Info-follow-reference): Allow multiline reference name.
4
12004-04-11 Dave Love <fx@gnu.org> 52004-04-11 Dave Love <fx@gnu.org>
2 6
3 * progmodes/python.el: New file. 7 * progmodes/python.el: New file.
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."
1840 (if (and (save-excursion 1840 (if (and (save-excursion
1841 (goto-char (+ (point) 5)) ; skip a possible *note 1841 (goto-char (+ (point) 5)) ; skip a possible *note
1842 (re-search-backward "\\*note[ \n\t]+" nil t) 1842 (re-search-backward "\\*note[ \n\t]+" nil t)
1843 (looking-at (concat "\\*note[ \n\t]+" (Info-following-node-name-re)))) 1843 (looking-at (concat "\\*note[ \n\t]+"
1844 (Info-following-node-name-re "^.,\t"))))
1844 (<= (point) (match-end 0))) 1845 (<= (point) (match-end 0)))
1845 (goto-char (match-beginning 0)))) 1846 (goto-char (match-beginning 0))))
1846 ;; Go to the reference closest to point 1847 ;; Go to the reference closest to point