From: Chong Yidong Date: Mon, 31 Aug 2009 14:51:12 +0000 (+0000) Subject: cedet/semantic/db.el: Synch to upstream. X-Git-Tag: emacs-pretest-23.1.90~1091^2~77 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5fcb5c7e2aa0e7f2ade1228fe17ae06d554894dc;p=emacs.git cedet/semantic/db.el: Synch to upstream. --- diff --git a/lisp/cedet/semantic/db.el b/lisp/cedet/semantic/db.el index ea8bcc91957..ea544f7364c 100644 --- a/lisp/cedet/semantic/db.el +++ b/lisp/cedet/semantic/db.el @@ -158,17 +158,6 @@ Adds the number of tags in this file to the object print name." ) strings))) -(defclass semanticdb-search-results-table (semanticdb-abstract-table) - ( ) - "Table used for search results when there is no file or table association. -Examples include search results from external sources such as from -Emacs' own symbol table, or from external libraries.") - -(defmethod semanticdb-refresh-table ((obj semanticdb-search-results-table) &optional force) - "If the tag list associated with OBJ is loaded, refresh it. -This will call `semantic-fetch-tags' if that file is in memory." - nil) - ;;; Index Cache ;; (defclass semanticdb-abstract-search-index () @@ -208,6 +197,23 @@ If one doesn't exist, create it." ) +;;; SEARCH RESULTS TABLE +;; +;; Needed for system databases that may not provide +;; a semanticdb-table associated with a file. +;; +(defclass semanticdb-search-results-table (semanticdb-abstract-table) + ( + ) + "Table used for search results when there is no file or table association. +Examples include search results from external sources such as from +Emacs' own symbol table, or from external libraries.") + +(defmethod semanticdb-refresh-table ((obj semanticdb-search-results-table) &optional force) + "If the tag list associated with OBJ is loaded, refresh it. +This will call `semantic-fetch-tags' if that file is in memory." + nil) + ;;; CONCRETE TABLE CLASSES ;; (defclass semanticdb-table (semanticdb-abstract-table)