Function: semanticdb-typecache-find-default

semanticdb-typecache-find-default is a byte-compiled function defined in db-typecache.el.gz.

Signature

(semanticdb-typecache-find-default TYPE &optional PATH FIND-FILE-MATCH)

Documentation

Default implementation of semanticdb-typecache-find.

TYPE is the datatype to find. PATH is the search path, which should be one table object. If FIND-FILE-MATCH is non-nil, then force the file belonging to the found tag to be loaded.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/db-typecache.el.gz
(defun semanticdb-typecache-find-default (type &optional path find-file-match)
  "Default implementation of `semanticdb-typecache-find'.
TYPE is the datatype to find.
PATH is the search path, which should be one table object.
If FIND-FILE-MATCH is non-nil, then force the file belonging to the
found tag to be loaded."
  (if (not (and (featurep 'semantic/db) semanticdb-current-database))
      nil ;; No DB, no search
    (save-excursion
      (semanticdb-typecache-find-method (or path semanticdb-current-table)
					type find-file-match))))