]> git.eshelyaron.com Git - emacs.git/commitdiff
(Info-find-node): Once again, use byte-to-position.
authorRichard M. Stallman <rms@gnu.org>
Tue, 4 Aug 1998 09:40:04 +0000 (09:40 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 4 Aug 1998 09:40:04 +0000 (09:40 +0000)
lisp/info.el

index 8fede6181127d8ea323c51adb205a5332a4517c5..f1278a988b0905de516e76511c12d69cd9dcc2b0 100644 (file)
@@ -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.