From: Chong Yidong Date: Sat, 5 Sep 2009 20:32:50 +0000 (+0000) Subject: lisp/cedet/semantic.el (semantic--set-buffer-cache): Ensure that X-Git-Tag: emacs-pretest-23.1.90~1091^2~71 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=06511291216fc86a1fbd63cf2326f1bfc1118ec4;p=emacs.git lisp/cedet/semantic.el (semantic--set-buffer-cache): Ensure that semantic-bovinate-nonterminal-check-obarray is buffer-local. --- diff --git a/lisp/cedet/semantic.el b/lisp/cedet/semantic.el index 43d90df6991..ad80df38459 100644 --- a/lisp/cedet/semantic.el +++ b/lisp/cedet/semantic.el @@ -498,9 +498,10 @@ is requested." (defun semantic--set-buffer-cache (tagtable) "Set the toplevel cache cache to TAGTABLE." (setq semantic--buffer-cache tagtable - semantic-unmatched-syntax-cache-check nil - ;; This is specific to the bovine parser. - semantic-bovinate-nonterminal-check-obarray nil) + semantic-unmatched-syntax-cache-check nil) + ;; This is specific to the bovine parser. + (set (make-local-variable 'semantic-bovinate-nonterminal-check-obarray) + nil) (semantic-parse-tree-set-up-to-date) (semantic-make-local-hook 'after-change-functions) (add-hook 'after-change-functions 'semantic-change-function nil t)