Mercurial > emacs
comparison lisp/emacs-lisp/autoload.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 | a9dc0e7c3f2b |
children | 43eb1ff3a976 |
comparison
equal
deleted
inserted
replaced
104443:a6c7463e3f20 | 104444:2bf481006ba4 |
---|---|
39 A `.el' file can set this in its local variables section to make its | 39 A `.el' file can set this in its local variables section to make its |
40 autoloads go somewhere else. The autoload file is assumed to contain a | 40 autoloads go somewhere else. The autoload file is assumed to contain a |
41 trailer starting with a FormFeed character.") | 41 trailer starting with a FormFeed character.") |
42 ;;;###autoload | 42 ;;;###autoload |
43 (put 'generated-autoload-file 'safe-local-variable 'stringp) | 43 (put 'generated-autoload-file 'safe-local-variable 'stringp) |
44 | |
45 (defvar generated-autoload-feature nil | |
46 "*Feature that `generated-autoload-file' should provide. | |
47 If nil, this defaults to `generated-autoload-file', sans extension.") | |
48 ;;;###autoload | |
49 (put 'generated-autoload-feature 'safe-local-variable 'symbolp) | |
44 | 50 |
45 ;; This feels like it should be a defconst, but MH-E sets it to | 51 ;; This feels like it should be a defconst, but MH-E sets it to |
46 ;; ";;;###mh-autoload" for the autoloads that are to go into mh-loaddefs.el. | 52 ;; ";;;###mh-autoload" for the autoloads that are to go into mh-loaddefs.el. |
47 (defvar generate-autoload-cookie ";;;###autoload" | 53 (defvar generate-autoload-cookie ";;;###autoload" |
48 "Magic comment indicating the following form should be autoloaded. | 54 "Magic comment indicating the following form should be autoloaded. |
243 (concat ";;; " basename | 249 (concat ";;; " basename |
244 " --- automatically extracted " (or type "autoloads") "\n" | 250 " --- automatically extracted " (or type "autoloads") "\n" |
245 ";;\n" | 251 ";;\n" |
246 ";;; Code:\n\n" | 252 ";;; Code:\n\n" |
247 "\n" | 253 "\n" |
248 "(provide '" (file-name-sans-extension basename) ")\n" | 254 "(provide '" |
255 (if (symbolp generated-autoload-feature) | |
256 (format "%s" generated-autoload-feature) | |
257 (file-name-sans-extension basename)) | |
258 ")\n" | |
249 ";; Local Variables:\n" | 259 ";; Local Variables:\n" |
250 ";; version-control: never\n" | 260 ";; version-control: never\n" |
251 ";; no-byte-compile: t\n" | 261 ";; no-byte-compile: t\n" |
252 ";; no-update-autoloads: t\n" | 262 ";; no-update-autoloads: t\n" |
253 ";; coding: utf-8\n" | 263 ";; coding: utf-8\n" |