diff options
| author | Richard M. Stallman | 1998-08-04 09:40:04 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-08-04 09:40:04 +0000 |
| commit | fabcd845a0661439937e410ff77d339f1fde3677 (patch) | |
| tree | df489c602a87d5d73cc06060362fa4d8ba9fd8bc | |
| parent | 949b810e82d9442da4816b9d31b6922f17f68ea7 (diff) | |
| download | emacs-fabcd845a0661439937e410ff77d339f1fde3677.tar.gz emacs-fabcd845a0661439937e410ff77d339f1fde3677.zip | |
(Info-find-node): Once again, use byte-to-position.
| -rw-r--r-- | lisp/info.el | 3 |
1 files changed, 2 insertions, 1 deletions
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-mode-map>\\[Info-exit] exits Emacs itself." | |||
| 488 | (goto-char guesspos) | 488 | (goto-char guesspos) |
| 489 | 489 | ||
| 490 | ;; Else we may have a node, which we search for: | 490 | ;; Else we may have a node, which we search for: |
| 491 | (goto-char (max (point-min) (- guesspos 1000))) | 491 | (goto-char (max (point-min) |
| 492 | (- (byte-to-position guesspos) 1000))) | ||
| 492 | ;; Now search from our advised position | 493 | ;; Now search from our advised position |
| 493 | ;; (or from beg of buffer) | 494 | ;; (or from beg of buffer) |
| 494 | ;; to find the actual node. | 495 | ;; to find the actual node. |