Function: semanticdb-current-database
semanticdb-current-database is a byte-compiled function defined in
db.el.gz.
Signature
(semanticdb-current-database)
Documentation
Return the currently active database.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/db.el.gz
;;; Utilities
;;
;; What is the current database, are two tables of an equivalent mode,
;; and what databases are a part of the same project.
(defun semanticdb-current-database ()
"Return the currently active database."
(or semanticdb-current-database
(and default-directory
(semanticdb-create-database semanticdb-new-database-class
default-directory)
)
nil))