aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2002-12-27 04:09:53 +0000
committerMiles Bader2002-12-27 04:09:53 +0000
commit271f4a9e80290bc17439646e54021b3fe545b760 (patch)
tree597382a6af2e088c4dc4b55481627c55edca8a07
parentffec8c5a3d3ed9bef34bf0b9b7fdbe6f06d6ae7f (diff)
downloademacs-271f4a9e80290bc17439646e54021b3fe545b760.tar.gz
emacs-271f4a9e80290bc17439646e54021b3fe545b760.zip
(Info-complete-menu-item): Make `Info-complete-cache' a buffer-local variable.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/info.el6
2 files changed, 8 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d3d113d4919..fb1984d80e5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12002-12-27 Miles Bader <miles@gnu.org>
2
3 * info.el (Info-complete-menu-item): Make `Info-complete-cache' a
4 buffer-local variable.
5
12002-12-26 Markus Rost <rost@math.ohio-state.edu> 62002-12-26 Markus Rost <rost@math.ohio-state.edu>
2 7
3 * cus-edit.el (customize-group-other-window): Use pop-to-buffer in 8 * cus-edit.el (customize-group-other-window): Use pop-to-buffer in
diff --git a/lisp/info.el b/lisp/info.el
index 836c8287ebe..ed323d6e7f0 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -1543,9 +1543,9 @@ FOOTNOTENAME may be an abbreviation of the reference name."
1543 (unless (equal Info-current-node orignode) 1543 (unless (equal Info-current-node orignode)
1544 (Info-goto-node orignode)) 1544 (Info-goto-node orignode))
1545 ;; Update the cache. 1545 ;; Update the cache.
1546 (setq Info-complete-cache 1546 (set (make-local-variable 'Info-complete-cache)
1547 (list Info-current-file Info-current-node 1547 (list Info-current-file Info-current-node
1548 Info-complete-next-re string completions))) 1548 Info-complete-next-re string completions)))
1549 (if action 1549 (if action
1550 (all-completions string completions predicate) 1550 (all-completions string completions predicate)
1551 (try-completion string completions predicate))))))) 1551 (try-completion string completions predicate)))))))