comparison lisp/cedet/semantic/db-ref.el @ 104444:2bf481006ba4

lisp/Makefile.in: Ignore CEDET subdirectories when making subdirs.el. lisp/emacs-lisp/autoload.el (generated-autoload-feature): New var. (autoload-rubric): Use it. lisp/cedet/semantic/adebug.el (data-debug-insert-find-results-button): Require db-find. lisp/cedet/semantic/analyze.el: Require semantic/tag. Don't declare autoloaded functions. lisp/cedet/semantic/chart.el: Don't declare autoloaded functions. lisp/cedet/semantic/complete.el: eval-when-compile semantic/find for macro. (semantic-collector-calculate-completions-raw): Require semantic/db-find. lisp/cedet/semantic/ctxt.el (semantic-up-context): Require semantic/find. Don't require it at top-level. lisp/cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-dump): Require data-debug. Don't require it at top-level. Don't require semantic/sort. lisp/cedet/semantic/db-find.el: Add local vars for autoloading. Don't require semantic/tag-file and semantic/sort. (semanticdb-find-default-throttle, semanticdb-find-result-length) (semanticdb-find-result-nth, semanticdb-find-result-nth-in-buffer) (semanticdb-find-tags-by-name, semanticdb-find-tags-for-completion) (semanticdb-find-translate-path, semanticdb-find-table-for-include): Autoload. lisp/cedet/semantic/db-ref.el: Require semantic and semantic/tag. (semanticdb-ref-test): Require data-debug. Don't require it at top-level. lisp/cedet/semantic/db-typecache.el: Require semantic and semantic/tag. Declare semantic-sort-tags-by-name-then-type-increasing and semantic-scope-tag-clone-with-scope. eval-when-compile semantic/find for semantic-find-tags-by-* macros. Add local vars for autoloading. (semanticdb-typecache-find): Autoload. lisp/cedet/semantic/db.el: Add local vars for autoloading. (semanticdb-current-database, semanticdb-current-table) (semanticdb-file-table-object): Autoload. lisp/cedet/semantic/decorate.el: Don't requirements for autoloaded functions. lisp/cedet/semantic/doc.el: Add local vars for autoloading. (semantic-documentation-for-tag): Autoload. lisp/cedet/semantic/edit.el: Drop requirements for autoloaded functions. lisp/cedet/semantic/find.el: Add local vars for autoloading. (semantic-current-tag, semantic-find-tag-by-overlay) (semantic-find-first-tag-by-name): Autoload. lisp/cedet/semantic/format.el: Add local vars for autoloading. (semantic-format-tag-name, semantic-format-tag-custom-list) (semantic-format-tag-functions): Autoload. lisp/cedet/semantic/fw.el: Require semantic/loaddefs. lisp/cedet/semantic/html.el (semantic-html-recursive-combobulate-list): Use assoc-string instead of assoc-case. lisp/cedet/semantic/ia.el (semantic-ia-insert-tag): Move up to avoid compiler error. (semantic-ia-complete-symbol-menu): Require imenu. (semantic-ia-fast-jump): Require semantic/decorate/include. lisp/cedet/semantic/idle.el: Require semantic and semantic/tag. Declare semanticdb-typecache-refresh-for-buffer and eldoc-message. eval-when-compile semantic/find for semantic-find-tags-by-name macro. lisp/cedet/semantic/sort.el: Add local vars for autoloading. (semantic-flatten-tags-table, semantic-tag-external-member-parent): Autoload. lisp/cedet/semantic/tag-file.el: Add local vars for autoloading. (semantic-go-to-tag, semantic-dependency-tag-file): Autoload. lisp/cedet/semantic/tag-ls.el: Add local vars for autoloading. (semantic-tag-prototype-p): Autoload. lisp/cedet/semantic/tag.el: Don't declare autoloaded functions. lisp/cedet/semantic/analyze/complete.el: Add local variables for autoloading. (semantic-analyze-possible-completions): Autoload. lisp/cedet/semantic/analyze/fcn.el: Require mode-local.
author Chong Yidong <cyd@stupidchicken.com>
date Wed, 02 Sep 2009 04:37:10 +0000
parents 902d22a2d922
children 6065d66f0c99
comparison
equal deleted inserted replaced
104443:a6c7463e3f20 104444:2bf481006ba4
35 ;; a change to files the header includes. 35 ;; a change to files the header includes.
36 36
37 37
38 ;;; Code: 38 ;;; Code:
39 (require 'eieio) 39 (require 'eieio)
40 (require 'semantic/db) 40 (require 'semantic)
41 (require 'semantic/util) 41 (require 'semantic/tag)
42 42
43 (defvar semanticdb-find-default-throttle) 43 (defvar semanticdb-find-default-throttle)
44 44
45 ;; For the semantic-find-tags-by-name-regexp macro. 45 ;; For the semantic-find-tags-by-name-regexp macro.
46 (eval-when-compile (require 'semantic/find)) 46 (eval-when-compile (require 'semantic/find))
47
47 (defvar semantic-case-fold) 48 (defvar semantic-case-fold)
48 49
49 (defmethod semanticdb-add-reference ((dbt semanticdb-abstract-table) 50 (defmethod semanticdb-add-reference ((dbt semanticdb-abstract-table)
50 include-tag) 51 include-tag)
51 "Add a reference for the database table DBT based on INCLUDE-TAG. 52 "Add a reference for the database table DBT based on INCLUDE-TAG.
155 "Dump out the list of references for the current buffer. 156 "Dump out the list of references for the current buffer.
156 If REFRESH is non-nil, cause the current table to have it's references 157 If REFRESH is non-nil, cause the current table to have it's references
157 refreshed before dumping the result." 158 refreshed before dumping the result."
158 (interactive "p") 159 (interactive "p")
159 (require 'data-debug) 160 (require 'data-debug)
160 (require 'semantic/db)
161 ;; If we need to refresh... then do so. 161 ;; If we need to refresh... then do so.
162 (when refresh 162 (when refresh
163 (semanticdb-refresh-references semanticdb-current-table)) 163 (semanticdb-refresh-references semanticdb-current-table))
164 ;; Do the debug system 164 ;; Do the debug system
165 (let* ((tab semanticdb-current-table) 165 (let* ((tab semanticdb-current-table)