Mercurial > emacs
changeset 104449:217c6a8e8420
lisp/cedet/semantic.el (semantic--set-buffer-cache): Ensure that
semantic-bovinate-nonterminal-check-obarray is buffer-local.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 05 Sep 2009 20:32:50 +0000 |
parents | 872396c919ad |
children | 08a15f853c45 |
files | lisp/cedet/semantic.el |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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)