comparison lisp/cedet/semantic/db.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 a6c7463e3f20
children 273e528a9f9b
comparison
equal deleted inserted replaced
104443:a6c7463e3f20 104444:2bf481006ba4
57 (defvar semanticdb-default-find-index-class 'semanticdb-find-search-index 57 (defvar semanticdb-default-find-index-class 'semanticdb-find-search-index
58 "The default type of search index to use for a `semanticdb-table's. 58 "The default type of search index to use for a `semanticdb-table's.
59 This can be changed to try out new types of search indicies.") 59 This can be changed to try out new types of search indicies.")
60 (make-variable-buffer-local 'semanticdb-default-find=index-class) 60 (make-variable-buffer-local 'semanticdb-default-find=index-class)
61 61
62 ;;;###autoload
62 (defvar semanticdb-current-database nil 63 (defvar semanticdb-current-database nil
63 "For a given buffer, this is the currently active database.") 64 "For a given buffer, this is the currently active database.")
64 (make-variable-buffer-local 'semanticdb-current-database) 65 (make-variable-buffer-local 'semanticdb-current-database)
65 66
67 ;;;###autoload
66 (defvar semanticdb-current-table nil 68 (defvar semanticdb-current-table nil
67 "For a given buffer, this is the currently active database table.") 69 "For a given buffer, this is the currently active database table.")
68 (make-variable-buffer-local 'semanticdb-current-table) 70 (make-variable-buffer-local 'semanticdb-current-table)
69 71
70 ;;; ABSTRACT CLASSES 72 ;;; ABSTRACT CLASSES
847 849
848 (defun semanticdb-file-table-object-put-hash (file dbtable) 850 (defun semanticdb-file-table-object-put-hash (file dbtable)
849 "For FILE, associate DBTABLE in the hash table." 851 "For FILE, associate DBTABLE in the hash table."
850 (puthash file dbtable semanticdb-file-table-hash)) 852 (puthash file dbtable semanticdb-file-table-hash))
851 853
854 ;;;###autoload
852 (defun semanticdb-file-table-object (file &optional dontload) 855 (defun semanticdb-file-table-object (file &optional dontload)
853 "Return a semanticdb table belonging to FILE, make it up to date. 856 "Return a semanticdb table belonging to FILE, make it up to date.
854 If file has database tags available in the database, return it. 857 If file has database tags available in the database, return it.
855 If file does not have tags available, and DONTLOAD is nil, 858 If file does not have tags available, and DONTLOAD is nil,
856 then load the tags for FILE, and create a new table object for it. 859 then load the tags for FILE, and create a new table object for it.
1008 (when table 1011 (when table
1009 (semanticdb-get-tags table)))) 1012 (semanticdb-get-tags table))))
1010 1013
1011 (provide 'semantic/db) 1014 (provide 'semantic/db)
1012 1015
1016 ;; Local variables:
1017 ;; generated-autoload-file: "loaddefs.el"
1018 ;; generated-autoload-feature: semantic/loaddefs
1019 ;; End:
1020
1013 ;;; semantic/db.el ends here 1021 ;;; semantic/db.el ends here