]> code.delx.au - gnu-emacs/commitdiff
lisp/cedet/semantic/util.el (semantic-file-tag-table): Require
authorChong Yidong <cyd@stupidchicken.com>
Mon, 7 Sep 2009 16:35:33 +0000 (16:35 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 7 Sep 2009 16:35:33 +0000 (16:35 +0000)
semantic/db-mode instead of checking if semanticdb-minor-mode-p is
bound.

lisp/cedet/semantic/util.el

index dfb899e5941b40e8f8fd906fa67e77d50c442712..a70b086f78d68f4289b1a952bf7b877a04a593ea 100644 (file)
@@ -73,7 +73,7 @@ If FILE is not loaded, and semanticdb is not available, find the file
        (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)