From bbaca9f74bcc6f530d8bd2e591ab25ea556d794f Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Mon, 7 Sep 2009 16:35:33 +0000 Subject: [PATCH] lisp/cedet/semantic/util.el (semantic-file-tag-table): Require semantic/db-mode instead of checking if semanticdb-minor-mode-p is bound. --- lisp/cedet/semantic/util.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (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) -- 2.39.5