aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-02-15 08:36:09 +0000
committerRichard M. Stallman1995-02-15 08:36:09 +0000
commitc696ac76c05e557c820318c223f2a299b208dd03 (patch)
tree4b59eafb4ca08e286c2adc98c4265bb4c67a75d4
parent9685a93f320a9a474a095fc597f25bd1e6109f7d (diff)
downloademacs-c696ac76c05e557c820318c223f2a299b208dd03.tar.gz
emacs-c696ac76c05e557c820318c223f2a299b208dd03.zip
(Info-index): Bind Info-history, not Info-keep-history.
-rw-r--r--lisp/info.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/info.el b/lisp/info.el
index 7feaf6b1649..3a2d1f954c7 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -1210,12 +1210,17 @@ Give a blank topic name to go to the Index node itself."
1210 (or (re-search-forward "\n\\* \\(.*\\<Index\\>\\)" nil t) 1210 (or (re-search-forward "\n\\* \\(.*\\<Index\\>\\)" nil t)
1211 (error "No index")) 1211 (error "No index"))
1212 (goto-char (match-beginning 1)) 1212 (goto-char (match-beginning 1))
1213 (let ((Info-keeping-history nil)) 1213 ;; Here, and subsequently in this function,
1214 ;; we bind Info-history to nil for internal node-switches
1215 ;; so that we don't put junk in the history.
1216 ;; In the first Info-goto-node call, above, we do update the history
1217 ;; because that is what the user's previous node choice into it.
1218 (let ((Info-history nil))
1214 (Info-goto-node (Info-extract-menu-node-name))) 1219 (Info-goto-node (Info-extract-menu-node-name)))
1215 (or (equal topic "") 1220 (or (equal topic "")
1216 (let ((matches nil) 1221 (let ((matches nil)
1217 (exact nil) 1222 (exact nil)
1218 (Info-keeping-history nil) 1223 (Info-history nil)
1219 found) 1224 found)
1220 (while 1225 (while
1221 (progn 1226 (progn