changeset 104477:d634157e6a91

lisp/cedet/semantic/util.el (semantic-file-tag-table): Require semantic/db-mode instead of checking if semanticdb-minor-mode-p is bound.
author Chong Yidong <cyd@stupidchicken.com>
date Mon, 07 Sep 2009 16:35:33 +0000
parents 1da44e87bf90
children 8b129ef893a2
files lisp/cedet/semantic/util.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/cedet/semantic/util.el	Mon Sep 07 16:34:35 2009 +0000
+++ b/lisp/cedet/semantic/util.el	Mon Sep 07 16:35:33 2009 +0000
@@ -73,7 +73,7 @@
 	(set-buffer (find-buffer-visiting file))
 	(semantic-fetch-tags))
     ;; File not loaded
-    (if (and (fboundp 'semanticdb-minor-mode-p)
+    (if (and (require 'semantic/db-mode)
 	     (semanticdb-minor-mode-p))
 	;; semanticdb is around, use it.
 	(semanticdb-file-stream file)