aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2009-09-07 16:35:33 +0000
committerChong Yidong2009-09-07 16:35:33 +0000
commitbbaca9f74bcc6f530d8bd2e591ab25ea556d794f (patch)
tree04859879b724bc101db36e3062370030d979e3fa
parentbb631f173214ee8c0d6d3591669a01c6dce0240e (diff)
downloademacs-bbaca9f74bcc6f530d8bd2e591ab25ea556d794f.tar.gz
emacs-bbaca9f74bcc6f530d8bd2e591ab25ea556d794f.zip
lisp/cedet/semantic/util.el (semantic-file-tag-table): Require
semantic/db-mode instead of checking if semanticdb-minor-mode-p is bound.
-rw-r--r--lisp/cedet/semantic/util.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/cedet/semantic/util.el b/lisp/cedet/semantic/util.el
index dfb899e5941..a70b086f78d 100644
--- a/lisp/cedet/semantic/util.el
+++ b/lisp/cedet/semantic/util.el
@@ -73,7 +73,7 @@ If FILE is not loaded, and semanticdb is not available, find the file
73 (set-buffer (find-buffer-visiting file)) 73 (set-buffer (find-buffer-visiting file))
74 (semantic-fetch-tags)) 74 (semantic-fetch-tags))
75 ;; File not loaded 75 ;; File not loaded
76 (if (and (fboundp 'semanticdb-minor-mode-p) 76 (if (and (require 'semantic/db-mode)
77 (semanticdb-minor-mode-p)) 77 (semanticdb-minor-mode-p))
78 ;; semanticdb is around, use it. 78 ;; semanticdb is around, use it.
79 (semanticdb-file-stream file) 79 (semanticdb-file-stream file)