changeset 31951:bd3d00aa97bf

(Info-extract-pointer): Undo last change. Instead, fix the position of the `bound' arg to re-search-backward.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 28 Sep 2000 14:33:56 +0000
parents 6fc3061bed75
children 9ab15b2742ba
files lisp/info.el
diffstat 1 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/info.el	Thu Sep 28 14:25:03 2000 +0000
+++ b/lisp/info.el	Thu Sep 28 14:33:56 2000 +0000
@@ -1144,13 +1144,11 @@
 	(goto-char (point-min))
 	(when Info-header-line
 	  ;; expose the header line in the buffer
-	  (let ((end (point-max)))
-	    (widen)
-	    (forward-line -1)
-	    (narrow-to-region (point) end)))
+	  (widen)
+	  (forward-line -1))
 	(let ((bound (point)))
 	  (forward-line 1)
-	  (cond ((re-search-backward (concat name ":") nil bound)
+	  (cond ((re-search-backward (concat name ":") bound t)
 	    (goto-char (match-end 0))
 	    (Info-following-node-name))
 		((not (eq errorname t))