aboutsummaryrefslogtreecommitdiffstats
path: root/lispref/loading.texi
diff options
context:
space:
mode:
authorLuc Teirlinck2005-05-14 15:22:36 +0000
committerLuc Teirlinck2005-05-14 15:22:36 +0000
commitce58b669c2cc3a44cef1d26bd08edd61941a747b (patch)
tree4b06ee5a1ea0973a59f6b5def4ac97ef4e25c91f /lispref/loading.texi
parentd06ba29495aac3dd587eb820df71566c819e15c1 (diff)
downloademacs-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/loading.texi')
-rw-r--r--lispref/loading.texi8
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
440by 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})
443consists of @samp{;;;###autoload}, on a line by itself,
444just before the real definition of the function in its
441autoloadable source file. The command @kbd{M-x update-file-autoloads} 445autoloadable source file. The command @kbd{M-x update-file-autoloads}
442writes a corresponding @code{autoload} call into @file{loaddefs.el}. 446writes a corresponding @code{autoload} call into @file{loaddefs.el}.
443Building Emacs loads @file{loaddefs.el} and thus calls @code{autoload}. 447Building Emacs loads @file{loaddefs.el} and thus calls @code{autoload}.