diff --git a/lisp/cedet/ChangeLog b/lisp/cedet/ChangeLog index 75948ef8d18..60d7690a3c8 100644 --- a/lisp/cedet/ChangeLog +++ b/lisp/cedet/ChangeLog @@ -1,3 +1,8 @@ +2011-07-04 Darren Hoo (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 * semantic.el (semantic-elapsed-time): Rewrite using diff --git a/lisp/cedet/semantic/db.el b/lisp/cedet/semantic/db.el index fa8de392b62..dca1b3bafea 100644 --- a/lisp/cedet/semantic/db.el +++ b/lisp/cedet/semantic/db.el @@ -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))