# HG changeset patch # User Chong Yidong # Date 1252182770 0 # Node ID 217c6a8e8420d18b5169a0358414d40b08e73335 # Parent 872396c919adcae8c931a6dc0a363808daea91a0 lisp/cedet/semantic.el (semantic--set-buffer-cache): Ensure that semantic-bovinate-nonterminal-check-obarray is buffer-local. diff -r 872396c919ad -r 217c6a8e8420 lisp/cedet/semantic.el --- a/lisp/cedet/semantic.el Sat Sep 05 01:06:46 2009 +0000 +++ b/lisp/cedet/semantic.el Sat Sep 05 20:32:50 2009 +0000 @@ -498,9 +498,10 @@ (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)