diff options
| author | Chong Yidong | 2009-09-05 20:38:12 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-09-05 20:38:12 +0000 |
| commit | 06b434594e3894899a2e224926db91ae681c1a70 (patch) | |
| tree | 8043bc64e40fd713d5c97987583c6436d83da9dc /lisp | |
| parent | 06511291216fc86a1fbd63cf2326f1bfc1118ec4 (diff) | |
| download | emacs-06b434594e3894899a2e224926db91ae681c1a70.tar.gz emacs-06b434594e3894899a2e224926db91ae681c1a70.zip | |
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.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/cedet/semantic/analyze/complete.el | 4 | ||||
| -rw-r--r-- | lisp/cedet/semantic/analyze/debug.el | 8 | ||||
| -rw-r--r-- | lisp/cedet/semantic/analyze/fcn.el | 2 | ||||
| -rw-r--r-- | lisp/cedet/semantic/edit.el | 7 |
4 files changed, 21 insertions, 0 deletions
diff --git a/lisp/cedet/semantic/analyze/complete.el b/lisp/cedet/semantic/analyze/complete.el index a44100b128f..c0914cefe4c 100644 --- a/lisp/cedet/semantic/analyze/complete.el +++ b/lisp/cedet/semantic/analyze/complete.el | |||
| @@ -32,6 +32,9 @@ | |||
| 32 | 32 | ||
| 33 | (require 'semantic/analyze) | 33 | (require 'semantic/analyze) |
| 34 | 34 | ||
| 35 | ;; For semantic-find-* macros: | ||
| 36 | (eval-when-compile (require 'semantic/find)) | ||
| 37 | |||
| 35 | ;;; Code: | 38 | ;;; Code: |
| 36 | 39 | ||
| 37 | ;;; Helper Fcns | 40 | ;;; Helper Fcns |
| @@ -272,6 +275,7 @@ Argument CONTEXT is an object specifying the locally derived context." | |||
| 272 | ;; Local variables: | 275 | ;; Local variables: |
| 273 | ;; generated-autoload-file: "../loaddefs.el" | 276 | ;; generated-autoload-file: "../loaddefs.el" |
| 274 | ;; generated-autoload-feature: semantic/loaddefs | 277 | ;; generated-autoload-feature: semantic/loaddefs |
| 278 | ;; generated-autoload-load-name: "semantic/analyze/complete" | ||
| 275 | ;; End: | 279 | ;; End: |
| 276 | 280 | ||
| 277 | ;;; semantic/analyze/complete.el ends here | 281 | ;;; semantic/analyze/complete.el ends here |
diff --git a/lisp/cedet/semantic/analyze/debug.el b/lisp/cedet/semantic/analyze/debug.el index 09c1e70f23a..db89f66e300 100644 --- a/lisp/cedet/semantic/analyze/debug.el +++ b/lisp/cedet/semantic/analyze/debug.el | |||
| @@ -24,9 +24,14 @@ | |||
| 24 | ;; Provide a top-order debugging tool for figuring out what's going on with | 24 | ;; Provide a top-order debugging tool for figuring out what's going on with |
| 25 | ;; smart completion and analyzer mode. | 25 | ;; smart completion and analyzer mode. |
| 26 | 26 | ||
| 27 | (require 'semantic) | ||
| 27 | (require 'semantic/analyze) | 28 | (require 'semantic/analyze) |
| 29 | (require 'semantic/analyze/complete) | ||
| 28 | (require 'semantic/db-typecache) | 30 | (require 'semantic/db-typecache) |
| 29 | 31 | ||
| 32 | ;; For semantic-find-tags-by-class: | ||
| 33 | (eval-when-compile (require 'semantic/find)) | ||
| 34 | |||
| 30 | ;;; Code: | 35 | ;;; Code: |
| 31 | 36 | ||
| 32 | (defun semantic-analyze-debug-assist () | 37 | (defun semantic-analyze-debug-assist () |
| @@ -375,8 +380,11 @@ or implementing a version specific to ") | |||
| 375 | (princ "\n")) | 380 | (princ "\n")) |
| 376 | (princ "\n"))) | 381 | (princ "\n"))) |
| 377 | 382 | ||
| 383 | (defvar semantic-dependency-system-include-path) | ||
| 384 | |||
| 378 | (defun semantic-analyzer-debug-insert-include-summary (table) | 385 | (defun semantic-analyzer-debug-insert-include-summary (table) |
| 379 | "Display a summary of includes for the semanticdb TABLE." | 386 | "Display a summary of includes for the semanticdb TABLE." |
| 387 | (require 'semantic/dep) | ||
| 380 | (semantic-fetch-tags) | 388 | (semantic-fetch-tags) |
| 381 | (let ((inc (semantic-find-tags-by-class 'include table)) | 389 | (let ((inc (semantic-find-tags-by-class 'include table)) |
| 382 | ;;(path (semanticdb-find-test-translate-path-no-loading)) | 390 | ;;(path (semanticdb-find-test-translate-path-no-loading)) |
diff --git a/lisp/cedet/semantic/analyze/fcn.el b/lisp/cedet/semantic/analyze/fcn.el index 304ab12cbe8..6fe5c49b0bc 100644 --- a/lisp/cedet/semantic/analyze/fcn.el +++ b/lisp/cedet/semantic/analyze/fcn.el | |||
| @@ -26,6 +26,8 @@ | |||
| 26 | ;;; Code: | 26 | ;;; Code: |
| 27 | 27 | ||
| 28 | (require 'mode-local) | 28 | (require 'mode-local) |
| 29 | (require 'semantic) | ||
| 30 | (require 'semantic/tag) | ||
| 29 | 31 | ||
| 30 | ;;; Small Mode Specific Options | 32 | ;;; Small Mode Specific Options |
| 31 | ;; | 33 | ;; |
diff --git a/lisp/cedet/semantic/edit.el b/lisp/cedet/semantic/edit.el index 79cfe185dee..e53198aa7ab 100644 --- a/lisp/cedet/semantic/edit.el +++ b/lisp/cedet/semantic/edit.el | |||
| @@ -818,6 +818,7 @@ This function is for internal use by `semantic-edits-incremental-parser'." | |||
| 818 | changed-tags)) | 818 | changed-tags)) |
| 819 | 819 | ||
| 820 | ;; Make it the default changes parser | 820 | ;; Make it the default changes parser |
| 821 | ;;;###autoload | ||
| 821 | (defalias 'semantic-parse-changes-default | 822 | (defalias 'semantic-parse-changes-default |
| 822 | 'semantic-edits-incremental-parser) | 823 | 'semantic-edits-incremental-parser) |
| 823 | 824 | ||
| @@ -961,4 +962,10 @@ lost if not transferred into NEWTAG." | |||
| 961 | 962 | ||
| 962 | (provide 'semantic/edit) | 963 | (provide 'semantic/edit) |
| 963 | 964 | ||
| 965 | ;; Local variables: | ||
| 966 | ;; generated-autoload-file: "loaddefs.el" | ||
| 967 | ;; generated-autoload-feature: semantic/loaddefs | ||
| 968 | ;; generated-autoload-load-name: "semantic/edit" | ||
| 969 | ;; End: | ||
| 970 | |||
| 964 | ;;; semantic/edit.el ends here | 971 | ;;; semantic/edit.el ends here |