Skip to content

Commit

Permalink
(Info-find-node): Don't clear Info-index-alternatives.
Browse files Browse the repository at this point in the history
(Info-index-next): Fix error message.
  • Loading branch information
Richard M. Stallman committed Dec 30, 1996
1 parent 69a869f commit cad0759
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lisp/info.el
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit cad0759

Please sign in to comment.