diff options
| author | Chong Yidong | 2009-09-05 20:32:50 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-09-05 20:32:50 +0000 |
| commit | 06511291216fc86a1fbd63cf2326f1bfc1118ec4 (patch) | |
| tree | 9cf61bf482ec194e65bc84aa2111785e87c04639 | |
| parent | ab7e1f7c7fad4c6c7fb745760e6badee30d42d3a (diff) | |
| download | emacs-06511291216fc86a1fbd63cf2326f1bfc1118ec4.tar.gz emacs-06511291216fc86a1fbd63cf2326f1bfc1118ec4.zip | |
lisp/cedet/semantic.el (semantic--set-buffer-cache): Ensure that
semantic-bovinate-nonterminal-check-obarray is buffer-local.
| -rw-r--r-- | lisp/cedet/semantic.el | 7 |
1 files 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." | |||
| 498 | (defun semantic--set-buffer-cache (tagtable) | 498 | (defun semantic--set-buffer-cache (tagtable) |
| 499 | "Set the toplevel cache cache to TAGTABLE." | 499 | "Set the toplevel cache cache to TAGTABLE." |
| 500 | (setq semantic--buffer-cache tagtable | 500 | (setq semantic--buffer-cache tagtable |
| 501 | semantic-unmatched-syntax-cache-check nil | 501 | semantic-unmatched-syntax-cache-check nil) |
| 502 | ;; This is specific to the bovine parser. | 502 | ;; This is specific to the bovine parser. |
| 503 | semantic-bovinate-nonterminal-check-obarray nil) | 503 | (set (make-local-variable 'semantic-bovinate-nonterminal-check-obarray) |
| 504 | nil) | ||
| 504 | (semantic-parse-tree-set-up-to-date) | 505 | (semantic-parse-tree-set-up-to-date) |
| 505 | (semantic-make-local-hook 'after-change-functions) | 506 | (semantic-make-local-hook 'after-change-functions) |
| 506 | (add-hook 'after-change-functions 'semantic-change-function nil t) | 507 | (add-hook 'after-change-functions 'semantic-change-function nil t) |