changeset 58040:af694410e72f

(Info-revert-find-node): Don't use beginning-of-buffer.
author Richard M. Stallman <rms@gnu.org>
date Mon, 08 Nov 2004 16:43:00 +0000
parents 5bf48738f9ab
children 78341df33f26
files lisp/info.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/info.el	Mon Nov 08 16:42:25 2004 +0000
+++ b/lisp/info.el	Mon Nov 08 16:43:00 2004 +0000
@@ -657,10 +657,10 @@
 	     (equal old-nodename Info-current-node))
 	(progn
 	  ;; note goto-line is no good, we want to measure from point-min
-	  (beginning-of-buffer)
+	  (goto-char (point-min))
 	  (forward-line wline)
 	  (set-window-start (selected-window) (point))
-	  (beginning-of-buffer)
+	  (goto-char (point-min))
 	  (forward-line pline)
 	  (move-to-column pcolumn))
       ;; only add to the history when coming from a different file+node