Mercurial > emacs
changeset 22902:18839ab53285
(Info-find-node): Once again, use byte-to-position.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 04 Aug 1998 09:40:04 +0000 |
parents | 12fca8181eca |
children | 77e68af369b1 |
files | lisp/info.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/info.el Tue Aug 04 09:34:25 1998 +0000 +++ b/lisp/info.el Tue Aug 04 09:40:04 1998 +0000 @@ -488,7 +488,8 @@ (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.