From: Glenn Morris Date: Sat, 11 Jul 2009 19:38:30 +0000 (+0000) Subject: Kevin Ryde X-Git-Tag: emacs-23.1~90 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=02cb2c7c07baf99e53093d458535812a5717b1bc;p=emacs.git Kevin Ryde (Named Features): Refer to eval-after-load. --- diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 1886ff31684..57ea83ec0f0 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,13 +1,13 @@ -2009-07-11 Glenn Morris - - * searching.texi (Regexp Backslash): Fix typo. - 2009-07-11 Kevin Ryde * hooks.texi (Standard Hooks): Fix cross-references. + * loading.texi (Named Features): Refer to eval-after-load. + 2009-07-11 Glenn Morris + * searching.texi (Regexp Backslash): Fix typo. + * elisp.texi (Top): Display copyright notice at start of non-TeX. 2009-07-10 Glenn Morris diff --git a/doc/lispref/loading.texi b/doc/lispref/loading.texi index d093fde1928..f39efbac6a5 100644 --- a/doc/lispref/loading.texi +++ b/doc/lispref/loading.texi @@ -733,10 +733,11 @@ loaded, into the current Emacs session. This means that the facilities associated with @var{feature} are or will be available for other Lisp programs. -The direct effect of calling @code{provide} is to add @var{feature} to -the front of the list @code{features} if it is not already in the list. -The argument @var{feature} must be a symbol. @code{provide} returns -@var{feature}. +The direct effect of calling @code{provide} is if not already in +@var{features} then to add @var{feature} to the front of that list and +call any @code{eval-after-load} code waiting for it (@pxref{Hooks for +Loading}). The argument @var{feature} must be a symbol. +@code{provide} returns @var{feature}. If provided, @var{subfeatures} should be a list of symbols indicating a set of specific subfeatures provided by this version of