Commit fabcd845 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Info-find-node): Once again, use byte-to-position.

parent 949b810e
......@@ -488,7 +488,8 @@ In standalone mode, \\<Info-mode-map>\\[Info-exit] exits Emacs itself."
(goto-char guesspos)
;; Else we may have a node, which we search for:
(goto-char (max (point-min) (- guesspos 1000)))
(goto-char (max (point-min)
(- (byte-to-position guesspos) 1000)))
;; Now search from our advised position
;; (or from beg of buffer)
;; to find the actual 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