diff lisp/cedet/semantic/util.el @ 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 273e528a9f9b
children 8db96f200ac8
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)