From: Glenn Morris Date: Sat, 11 Jul 2009 19:39:24 +0000 (+0000) Subject: Kevin Ryde X-Git-Tag: emacs-pretest-23.1.90~2201 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4c98b9edb62f56c3dd817ec102f14ddad04b0b7c;p=emacs.git Kevin Ryde (Named Features): Refer to eval-after-load. --- diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index fc709b05d14..41d866f35e7 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,14 +1,14 @@ -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 - * elisp.texi (Top): Display copyright notice at start of non-TeX. + * 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