Mercurial > emacs
changeset 104450:08a15f853c45
lisp/cedet/semantic/edit.el: Add local vars for autoloading.
Autoload semantic-parse-changes-default defalias.
lisp/cedet/semantic/analyze/complete.el: Require semantic/find when
compiling.
lisp/cedet/semantic/analyze/debug.el: Require semantic and
semantic/analyze/complete. Require semantic/find when compiling.
(semantic-analyzer-debug-insert-include-summary): Require
semantic/dep.
lisp/cedet/semantic/analyze/fcn.el: Require semantic and semantic/tag.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 05 Sep 2009 20:38:12 +0000 |
parents | 217c6a8e8420 |
children | 2858c6bcc446 |
files | lisp/cedet/semantic/analyze/complete.el lisp/cedet/semantic/analyze/debug.el lisp/cedet/semantic/analyze/fcn.el lisp/cedet/semantic/edit.el |
diffstat | 4 files changed, 21 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/cedet/semantic/analyze/complete.el Sat Sep 05 20:32:50 2009 +0000 +++ b/lisp/cedet/semantic/analyze/complete.el Sat Sep 05 20:38:12 2009 +0000 @@ -32,6 +32,9 @@ (require 'semantic/analyze) +;; For semantic-find-* macros: +(eval-when-compile (require 'semantic/find)) + ;;; Code: ;;; Helper Fcns @@ -272,6 +275,7 @@ ;; Local variables: ;; generated-autoload-file: "../loaddefs.el" ;; generated-autoload-feature: semantic/loaddefs +;; generated-autoload-load-name: "semantic/analyze/complete" ;; End: ;;; semantic/analyze/complete.el ends here
--- a/lisp/cedet/semantic/analyze/debug.el Sat Sep 05 20:32:50 2009 +0000 +++ b/lisp/cedet/semantic/analyze/debug.el Sat Sep 05 20:38:12 2009 +0000 @@ -24,9 +24,14 @@ ;; Provide a top-order debugging tool for figuring out what's going on with ;; smart completion and analyzer mode. +(require 'semantic) (require 'semantic/analyze) +(require 'semantic/analyze/complete) (require 'semantic/db-typecache) +;; For semantic-find-tags-by-class: +(eval-when-compile (require 'semantic/find)) + ;;; Code: (defun semantic-analyze-debug-assist () @@ -375,8 +380,11 @@ (princ "\n")) (princ "\n"))) +(defvar semantic-dependency-system-include-path) + (defun semantic-analyzer-debug-insert-include-summary (table) "Display a summary of includes for the semanticdb TABLE." + (require 'semantic/dep) (semantic-fetch-tags) (let ((inc (semantic-find-tags-by-class 'include table)) ;;(path (semanticdb-find-test-translate-path-no-loading))
--- a/lisp/cedet/semantic/analyze/fcn.el Sat Sep 05 20:32:50 2009 +0000 +++ b/lisp/cedet/semantic/analyze/fcn.el Sat Sep 05 20:38:12 2009 +0000 @@ -26,6 +26,8 @@ ;;; Code: (require 'mode-local) +(require 'semantic) +(require 'semantic/tag) ;;; Small Mode Specific Options ;;
--- a/lisp/cedet/semantic/edit.el Sat Sep 05 20:32:50 2009 +0000 +++ b/lisp/cedet/semantic/edit.el Sat Sep 05 20:38:12 2009 +0000 @@ -818,6 +818,7 @@ changed-tags)) ;; Make it the default changes parser +;;;###autoload (defalias 'semantic-parse-changes-default 'semantic-edits-incremental-parser) @@ -961,4 +962,10 @@ (provide 'semantic/edit) +;; Local variables: +;; generated-autoload-file: "loaddefs.el" +;; generated-autoload-feature: semantic/loaddefs +;; generated-autoload-load-name: "semantic/edit" +;; End: + ;;; semantic/edit.el ends here