From 271f4a9e80290bc17439646e54021b3fe545b760 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 27 Dec 2002 04:09:53 +0000 Subject: [PATCH] (Info-complete-menu-item): Make `Info-complete-cache' a buffer-local variable. --- lisp/ChangeLog | 5 +++++ lisp/info.el | 6 +++--- 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 @@ +2002-12-27 Miles Bader + + * info.el (Info-complete-menu-item): Make `Info-complete-cache' a + buffer-local variable. + 2002-12-26 Markus Rost * 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." (unless (equal Info-current-node orignode) (Info-goto-node orignode)) ;; Update the cache. - (setq Info-complete-cache - (list Info-current-file Info-current-node - Info-complete-next-re string completions))) + (set (make-local-variable 'Info-complete-cache) + (list Info-current-file Info-current-node + Info-complete-next-re string completions))) (if action (all-completions string completions predicate) (try-completion string completions predicate))))))) -- 2.39.2