From: Miles Bader Date: Fri, 27 Dec 2002 04:09:53 +0000 (+0000) Subject: (Info-complete-menu-item): Make `Info-complete-cache' a buffer-local variable. X-Git-Tag: ttn-vms-21-2-B4~11896 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=271f4a9e80290bc17439646e54021b3fe545b760;p=emacs.git (Info-complete-menu-item): Make `Info-complete-cache' a buffer-local variable. --- 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)))))))