From 06511291216fc86a1fbd63cf2326f1bfc1118ec4 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sat, 5 Sep 2009 20:32:50 +0000 Subject: [PATCH] lisp/cedet/semantic.el (semantic--set-buffer-cache): Ensure that semantic-bovinate-nonterminal-check-obarray is buffer-local. --- lisp/cedet/semantic.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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) -- 2.39.5