changeset 48977:ef739be93187

(Info-complete-menu-item): Make `Info-complete-cache' a buffer-local variable.
author Miles Bader <miles@gnu.org>
date Fri, 27 Dec 2002 04:08:28 +0000
parents d45ef8a03c66
children 8975380e6f9e
files lisp/info.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)))))))