diff options
| author | Chong Yidong | 2009-09-05 23:20:52 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-09-05 23:20:52 +0000 |
| commit | 9e031c3162b3fbb5cf2a10d17e4627ba43cbccd1 (patch) | |
| tree | f4aae7d58c5b85cc5e45d36798521dd020e81c75 | |
| parent | e969cc5dd769869ab18ca662ce85fd0a90c1def2 (diff) | |
| download | emacs-9e031c3162b3fbb5cf2a10d17e4627ba43cbccd1.tar.gz emacs-9e031c3162b3fbb5cf2a10d17e4627ba43cbccd1.zip | |
lisp/cedet/semantic/ia.el: Add local vars for autoloading.
(semantic-ia-complete-symbol, semantic-ia-complete-symbol-menu)
(semantic-ia-complete-tip, semantic-ia-show-summary)
(semantic-ia-fast-jump, semantic-ia-fast-mouse-jump)
(semantic-ia-show-doc, semantic-ia-describe-class): Autoload.
| -rw-r--r-- | lisp/cedet/semantic/ia.el | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/lisp/cedet/semantic/ia.el b/lisp/cedet/semantic/ia.el index b2446e75029..4fc4e49348a 100644 --- a/lisp/cedet/semantic/ia.el +++ b/lisp/cedet/semantic/ia.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; ia.el --- Interactive Analysis functions | 1 | ;;; semantic/ia.el --- Interactive Analysis functions |
| 2 | 2 | ||
| 3 | ;;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, | 3 | ;;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
| 4 | ;;; 2008, 2009 Free Software Foundation, Inc. | 4 | ;;; 2008, 2009 Free Software Foundation, Inc. |
| @@ -105,6 +105,7 @@ Supports caching." | |||
| 105 | (setq semantic-ia-cache (cons point symbols)) | 105 | (setq semantic-ia-cache (cons point symbols)) |
| 106 | symbols)) | 106 | symbols)) |
| 107 | 107 | ||
| 108 | ;;;###autoload | ||
| 108 | (defun semantic-ia-complete-symbol (point) | 109 | (defun semantic-ia-complete-symbol (point) |
| 109 | "Complete the current symbol at POINT. | 110 | "Complete the current symbol at POINT. |
| 110 | Completion options are calculated with `semantic-analyze-possible-completions'." | 111 | Completion options are calculated with `semantic-analyze-possible-completions'." |
| @@ -166,6 +167,7 @@ Completion options are calculated with `semantic-analyze-possible-completions'." | |||
| 166 | :group 'semantic | 167 | :group 'semantic |
| 167 | :type semantic-format-tag-custom-list) | 168 | :type semantic-format-tag-custom-list) |
| 168 | 169 | ||
| 170 | ;;;###autoload | ||
| 169 | (defun semantic-ia-complete-symbol-menu (point) | 171 | (defun semantic-ia-complete-symbol-menu (point) |
| 170 | "Complete the current symbol via a menu based at POINT. | 172 | "Complete the current symbol via a menu based at POINT. |
| 171 | Completion options are calculated with `semantic-analyze-possible-completions'." | 173 | Completion options are calculated with `semantic-analyze-possible-completions'." |
| @@ -209,6 +211,7 @@ Completion options are calculated with `semantic-analyze-possible-completions'." | |||
| 209 | ;; This functions shows how to get the list of completions, | 211 | ;; This functions shows how to get the list of completions, |
| 210 | ;; to place in a tooltip. It doesn't actually do any completion. | 212 | ;; to place in a tooltip. It doesn't actually do any completion. |
| 211 | 213 | ||
| 214 | ;;;###autoload | ||
| 212 | (defun semantic-ia-complete-tip (point) | 215 | (defun semantic-ia-complete-tip (point) |
| 213 | "Pop up a tooltip for completion at POINT." | 216 | "Pop up a tooltip for completion at POINT." |
| 214 | (interactive "d") | 217 | (interactive "d") |
| @@ -241,6 +244,7 @@ Completion options are calculated with `semantic-analyze-possible-completions'." | |||
| 241 | ;; Like idle-summary-mode, this shows how to get something to | 244 | ;; Like idle-summary-mode, this shows how to get something to |
| 242 | ;; show a summary on. | 245 | ;; show a summary on. |
| 243 | 246 | ||
| 247 | ;;;###autoload | ||
| 244 | (defun semantic-ia-show-summary (point) | 248 | (defun semantic-ia-show-summary (point) |
| 245 | "Display a summary for the symbol under POINT." | 249 | "Display a summary for the symbol under POINT." |
| 246 | (interactive "P") | 250 | (interactive "P") |
| @@ -299,6 +303,7 @@ This helper manages the mark, buffer switching, and pulsing." | |||
| 299 | 303 | ||
| 300 | (declare-function semantic-decoration-include-visit "semantic/decorate/include") | 304 | (declare-function semantic-decoration-include-visit "semantic/decorate/include") |
| 301 | 305 | ||
| 306 | ;;;###autoload | ||
| 302 | (defun semantic-ia-fast-jump (point) | 307 | (defun semantic-ia-fast-jump (point) |
| 303 | "Jump to the tag referred to by the code at POINT. | 308 | "Jump to the tag referred to by the code at POINT. |
| 304 | Uses `semantic-analyze-current-context' output to identify an accurate | 309 | Uses `semantic-analyze-current-context' output to identify an accurate |
| @@ -356,6 +361,7 @@ origin of the code at point." | |||
| 356 | first)) | 361 | first)) |
| 357 | ))) | 362 | ))) |
| 358 | 363 | ||
| 364 | ;;;###autoload | ||
| 359 | (defun semantic-ia-fast-mouse-jump (evt) | 365 | (defun semantic-ia-fast-mouse-jump (evt) |
| 360 | "Jump to the tag referred to by the point clicked on. | 366 | "Jump to the tag referred to by the point clicked on. |
| 361 | See `semantic-ia-fast-jump' for details on how it works. | 367 | See `semantic-ia-fast-jump' for details on how it works. |
| @@ -370,6 +376,7 @@ See `semantic-ia-fast-jump' for details on how it works. | |||
| 370 | ;; | 376 | ;; |
| 371 | ;; These routines show how to get additional information about a tag | 377 | ;; These routines show how to get additional information about a tag |
| 372 | ;; for purposes of describing or showing documentation about them. | 378 | ;; for purposes of describing or showing documentation about them. |
| 379 | ;;;###autoload | ||
| 373 | (defun semantic-ia-show-doc (point) | 380 | (defun semantic-ia-show-doc (point) |
| 374 | "Display the code-level documentation for the symbol at POINT." | 381 | "Display the code-level documentation for the symbol at POINT." |
| 375 | (interactive "d") | 382 | (interactive "d") |
| @@ -406,6 +413,7 @@ See `semantic-ia-fast-jump' for details on how it works. | |||
| 406 | (message "Unknown tag."))) | 413 | (message "Unknown tag."))) |
| 407 | )) | 414 | )) |
| 408 | 415 | ||
| 416 | ;;;###autoload | ||
| 409 | (defun semantic-ia-describe-class (typename) | 417 | (defun semantic-ia-describe-class (typename) |
| 410 | "Display all known parts for the datatype TYPENAME. | 418 | "Display all known parts for the datatype TYPENAME. |
| 411 | If the type in question is a class, all methods and other accessible | 419 | If the type in question is a class, all methods and other accessible |
| @@ -446,4 +454,10 @@ parts of the parent classes are displayed." | |||
| 446 | 454 | ||
| 447 | (provide 'semantic/ia) | 455 | (provide 'semantic/ia) |
| 448 | 456 | ||
| 449 | ;;; semantic-ia.el ends here | 457 | ;; Local variables: |
| 458 | ;; generated-autoload-file: "loaddefs.el" | ||
| 459 | ;; generated-autoload-feature: semantic/loaddefs | ||
| 460 | ;; generated-autoload-load-name: "semantic/ia" | ||
| 461 | ;; End: | ||
| 462 | |||
| 463 | ;;; semantic/ia.el ends here | ||