From cb7de2e75971f44c270ed8c0bc92fccf34fdce2d Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 8 Nov 2004 16:43:00 +0000 Subject: [PATCH] (Info-revert-find-node): Don't use beginning-of-buffer. --- lisp/info.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/info.el b/lisp/info.el index 8aaf7755df2..baeec935ee7 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -657,10 +657,10 @@ is preserved, if possible." (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 -- 2.39.5