Commit cb7de2e7 authored by Richard M. Stallman's avatar Richard M. Stallman

(Info-revert-find-node): Don't use beginning-of-buffer.

parent 4331c31e
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment