changeset 16790:3663fc0c2036

(Info-find-node): Don't clear Info-index-alternatives. (Info-index-next): Fix error message.
author Richard M. Stallman <rms@gnu.org>
date Mon, 30 Dec 1996 20:44:24 +0000
parents 85b1a10101ff
children 16f064c6c276
files lisp/info.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/info.el	Mon Dec 30 20:40:27 1996 +0000
+++ b/lisp/info.el	Mon Dec 30 20:44:24 1996 +0000
@@ -316,7 +316,6 @@
 	      (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 @@
   "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)