summaryrefslogtreecommitdiff
path: root/doc/lispref/loading.texi
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2009-07-11 19:39:24 +0000
committerGlenn Morris <rgm@gnu.org>2009-07-11 19:39:24 +0000
commit4c98b9edb62f56c3dd817ec102f14ddad04b0b7c (patch)
treea2e5a6a6a4f88b1dfe92700b9923a49c0aeac4fd /doc/lispref/loading.texi
parent748c30f4a350c04db86541b3c5b8d6b5ab8d9e11 (diff)
downloademacs-4c98b9edb62f56c3dd817ec102f14ddad04b0b7c.tar.gz
Kevin Ryde <user42 at zip.com.au>
(Named Features): Refer to eval-after-load.
Diffstat (limited to 'doc/lispref/loading.texi')
-rw-r--r--doc/lispref/loading.texi9
1 files changed, 5 insertions, 4 deletions
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