(Info-complete-menu-item): Make `Info-complete-cache' a buffer-local variable.

This commit is contained in:
Miles Bader 2002-12-27 04:09:53 +00:00
parent ffec8c5a3d
commit 271f4a9e80
2 changed files with 8 additions and 3 deletions

View 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

View 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)))))))