From: Lars Magne Ingebrigtsen Date: Sun, 3 Jul 2011 12:33:37 +0000 (+0200) Subject: * functions.texi (What Is a Function): Document the autoload X-Git-Tag: emacs-pretest-24.0.90~104^2~152^2~206^2~28 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c7844a276494777c90c57cfbb38d90f64ad2d866;p=emacs.git * functions.texi (What Is a Function): Document the autoload object. Fixes: debbugs:6496 --- diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index a87cd201676..f96ecc30c58 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,8 @@ +2011-07-03 Lars Magne Ingebrigtsen + + * functions.texi (What Is a Function): Document the autoload + object (bug#6496). + 2011-07-02 Lars Magne Ingebrigtsen * customize.texi (Variable Definitions): Clarify that SETFUNCTION diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi index 974487382c8..519957f8921 100644 --- a/doc/lispref/functions.texi +++ b/doc/lispref/functions.texi @@ -112,6 +112,13 @@ editors; for Lisp programs, the distinction is normally unimportant. @item byte-code function A @dfn{byte-code function} is a function that has been compiled by the byte compiler. @xref{Byte-Code Type}. + +@item autoload object +@cindex autoload object +An @dfn{autoload object} is a place-holder for a real function. If +the autoload object is called, it will make Emacs load the file +containing the definition of the real function, and then call the real +function instead. @end table @defun functionp object