1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

* semantic/db.el (semanticdb-file-table-object): Don't bug out on

unconfigured projects if `global-ede-mode' is on.

Fixes: debbugs:8092
This commit is contained in:
Darren Hoo 2011-07-04 17:36:38 +02:00 committed by Lars Magne Ingebrigtsen
parent 7c301272b4
commit 60c55439fc
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-07-04 Darren Hoo <darren.hoo@gmail.com> (tiny change)
* semantic/db.el (semanticdb-file-table-object): Don't bug out on
unconfigured projects if `global-ede-mode' is on (bug#8092).
2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
* semantic.el (semantic-elapsed-time): Rewrite using

View File

@ -880,7 +880,7 @@ If file does not have tags available, and DONTLOAD is nil,
then load the tags for FILE, and create a new table object for it.
DONTLOAD does not affect the creation of new database objects."
;; (message "Object Translate: %s" file)
(when (file-exists-p file)
(when (and file (file-exists-p file))
(let* ((default-directory (file-name-directory file))
(tab (semanticdb-file-table-object-from-hash file))
(fullfile nil))