1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-07 06:22:32 -08:00

lisp/cedet/semantic/util.el (semantic-file-tag-table): Require

semantic/db-mode instead of checking if semanticdb-minor-mode-p is
bound.
This commit is contained in:
Chong Yidong 2009-09-07 16:35:33 +00:00
parent bb631f1732
commit bbaca9f74b

View 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)