diff options
| author | Luc Teirlinck | 2005-05-14 15:22:36 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2005-05-14 15:22:36 +0000 |
| commit | ce58b669c2cc3a44cef1d26bd08edd61941a747b (patch) | |
| tree | 4b06ee5a1ea0973a59f6b5def4ac97ef4e25c91f /lispref | |
| parent | d06ba29495aac3dd587eb820df71566c819e15c1 (diff) | |
| download | emacs-ce58b669c2cc3a44cef1d26bd08edd61941a747b.tar.gz emacs-ce58b669c2cc3a44cef1d26bd08edd61941a747b.zip | |
(Autoload): Mention `autoload cookie' as synonym for
`magic autoload comment'. Add index entries and anchor.
Diffstat (limited to 'lispref')
| -rw-r--r-- | lispref/loading.texi | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lispref/loading.texi b/lispref/loading.texi index e12826af2f8..4049877e782 100644 --- a/lispref/loading.texi +++ b/lispref/loading.texi | |||
| @@ -436,8 +436,12 @@ define function @var{function-name}"}. | |||
| 436 | 436 | ||
| 437 | @findex update-file-autoloads | 437 | @findex update-file-autoloads |
| 438 | @findex update-directory-autoloads | 438 | @findex update-directory-autoloads |
| 439 | A magic autoload comment consists of @samp{;;;###autoload}, on a line | 439 | @cindex magic autoload comment |
| 440 | by itself, just before the real definition of the function in its | 440 | @cindex autoload cookie |
| 441 | @anchor{autoload cookie} | ||
| 442 | A magic autoload comment (often called an @dfn{autoload cookie}) | ||
| 443 | consists of @samp{;;;###autoload}, on a line by itself, | ||
| 444 | just before the real definition of the function in its | ||
| 441 | autoloadable source file. The command @kbd{M-x update-file-autoloads} | 445 | autoloadable source file. The command @kbd{M-x update-file-autoloads} |
| 442 | writes a corresponding @code{autoload} call into @file{loaddefs.el}. | 446 | writes a corresponding @code{autoload} call into @file{loaddefs.el}. |
| 443 | Building Emacs loads @file{loaddefs.el} and thus calls @code{autoload}. | 447 | Building Emacs loads @file{loaddefs.el} and thus calls @code{autoload}. |