summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-12-30 20:44:24 +0000
committerRichard M. Stallman <rms@gnu.org>1996-12-30 20:44:24 +0000
commitcad07598275bd490e19b8311d6e757ee20d273c1 (patch)
tree490076bb4ada5eb1e3093adf3b0eecd94297e197
parent69a869f209f35ffab8bccd2d8444fc90b2d485a6 (diff)
downloademacs-cad07598275bd490e19b8311d6e757ee20d273c1.tar.gz
(Info-find-node): Don't clear Info-index-alternatives.
(Info-index-next): Fix error message.
-rw-r--r--lisp/info.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/info.el b/lisp/info.el
index 8dc67100c81..63076dfa93b 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -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)