1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

(Info-find-node): Don't clear Info-index-alternatives.

(Info-index-next): Fix error message.
This commit is contained in:
Richard M. Stallman 1996-12-30 20:44:24 +00:00
parent c1148e39cc
commit 882e61bf04

View File

@ -316,7 +316,6 @@ In standalone mode, \\<Info-mode-map>\\[Info-exit] exits Emacs itself."
(setq Info-current-file nil
Info-current-subfile nil
Info-current-file-completions nil
Info-index-alternatives nil
buffer-file-name nil)
(erase-buffer)
(if (eq filename t)
@ -1388,7 +1387,7 @@ Give a blank topic name to go to the Index node itself."
"Go to the next matching index item from the last `i' command."
(interactive "p")
(or Info-index-alternatives
(error "No previous `i' command in this file"))
(error "No previous `i' command"))
(while (< num 0)
(setq num (+ num (length Info-index-alternatives))))
(while (> num 0)