From: Richard M. Stallman Date: Tue, 4 Aug 1998 09:40:04 +0000 (+0000) Subject: (Info-find-node): Once again, use byte-to-position. X-Git-Tag: emacs-20.3~177 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fabcd845a0661439937e410ff77d339f1fde3677;p=emacs.git (Info-find-node): Once again, use byte-to-position. --- diff --git a/lisp/info.el b/lisp/info.el index 8fede618112..f1278a988b0 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -488,7 +488,8 @@ In standalone mode, \\\\[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.