comparison doc/lispref/loading.texi @ 103864:cc83b339ea18

Kevin Ryde <user42 at zip.com.au> (Named Features): Refer to eval-after-load.
author Glenn Morris <rgm@gnu.org>
date Sat, 11 Jul 2009 19:39:24 +0000
parents 67578c6bcd78
children fcd80b58a694
comparison
equal deleted inserted replaced
103863:79feb82d15fb 103864:cc83b339ea18
731 This function announces that @var{feature} is now loaded, or being 731 This function announces that @var{feature} is now loaded, or being
732 loaded, into the current Emacs session. This means that the facilities 732 loaded, into the current Emacs session. This means that the facilities
733 associated with @var{feature} are or will be available for other Lisp 733 associated with @var{feature} are or will be available for other Lisp
734 programs. 734 programs.
735 735
736 The direct effect of calling @code{provide} is to add @var{feature} to 736 The direct effect of calling @code{provide} is if not already in
737 the front of the list @code{features} if it is not already in the list. 737 @var{features} then to add @var{feature} to the front of that list and
738 The argument @var{feature} must be a symbol. @code{provide} returns 738 call any @code{eval-after-load} code waiting for it (@pxref{Hooks for
739 @var{feature}. 739 Loading}). The argument @var{feature} must be a symbol.
740 @code{provide} returns @var{feature}.
740 741
741 If provided, @var{subfeatures} should be a list of symbols indicating 742 If provided, @var{subfeatures} should be a list of symbols indicating
742 a set of specific subfeatures provided by this version of 743 a set of specific subfeatures provided by this version of
743 @var{feature}. You can test the presence of a subfeature using 744 @var{feature}. You can test the presence of a subfeature using
744 @code{featurep}. The idea of subfeatures is that you use them when a 745 @code{featurep}. The idea of subfeatures is that you use them when a