Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
104476:1da44e87bf90 | 104477:d634157e6a91 |
---|---|
71 (if (find-buffer-visiting file) | 71 (if (find-buffer-visiting file) |
72 (save-excursion | 72 (save-excursion |
73 (set-buffer (find-buffer-visiting file)) | 73 (set-buffer (find-buffer-visiting file)) |
74 (semantic-fetch-tags)) | 74 (semantic-fetch-tags)) |
75 ;; File not loaded | 75 ;; File not loaded |
76 (if (and (fboundp 'semanticdb-minor-mode-p) | 76 (if (and (require 'semantic/db-mode) |
77 (semanticdb-minor-mode-p)) | 77 (semanticdb-minor-mode-p)) |
78 ;; semanticdb is around, use it. | 78 ;; semanticdb is around, use it. |
79 (semanticdb-file-stream file) | 79 (semanticdb-file-stream file) |
80 ;; Get the stream ourselves. | 80 ;; Get the stream ourselves. |
81 (save-excursion | 81 (save-excursion |