]> git.eshelyaron.com Git - emacs.git/commitdiff
(Info-complete-menu-item): Make `Info-complete-cache' a buffer-local variable.
authorMiles Bader <miles@gnu.org>
Fri, 27 Dec 2002 04:09:53 +0000 (04:09 +0000)
committerMiles Bader <miles@gnu.org>
Fri, 27 Dec 2002 04:09:53 +0000 (04:09 +0000)
lisp/ChangeLog
lisp/info.el

index d3d113d4919679ff11ea69a47fa3d4f85dc87ce3..fb1984d80e51d492c177b59fcafe66c7f408258d 100644 (file)
@@ -1,3 +1,8 @@
+2002-12-27  Miles Bader  <miles@gnu.org>
+
+       * info.el (Info-complete-menu-item): Make `Info-complete-cache' a
+       buffer-local variable.
+
 2002-12-26  Markus Rost  <rost@math.ohio-state.edu>
 
        * cus-edit.el (customize-group-other-window): Use pop-to-buffer in
index 836c8287ebef3935edf8b60c02437e59d4ffb9d2..ed323d6e7f090cb707ecc51ce62c7172e8189bd3 100644 (file)
@@ -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)))))))