# HG changeset patch # User Miles Bader # Date 1040962108 0 # Node ID ef739be93187ac56f559738c632111d9d4fcc489 # Parent d45ef8a03c66573e7f9e59fe73fbbc53ac2f7d45 (Info-complete-menu-item): Make `Info-complete-cache' a buffer-local variable. diff -r d45ef8a03c66 -r ef739be93187 lisp/info.el --- a/lisp/info.el Thu Dec 26 22:15:38 2002 +0000 +++ b/lisp/info.el Fri Dec 27 04:08:28 2002 +0000 @@ -1543,9 +1543,9 @@ (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)))))))