emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lispref/loading.texi


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/lispref/loading.texi
Date: Sun, 23 Jun 2002 17:49:42 -0400

Index: emacs/lispref/loading.texi
diff -c emacs/lispref/loading.texi:1.33 emacs/lispref/loading.texi:1.34
*** emacs/lispref/loading.texi:1.33     Tue Jan 15 21:47:15 2002
--- emacs/lispref/loading.texi  Sun Jun 23 17:49:42 2002
***************
*** 637,643 ****
  execute the @code{provide} call, so the subsequent @code{require} call
  does nothing when the file is loaded.
  
! @defun provide feature
  This function announces that @var{feature} is now loaded, or being
  loaded, into the current Emacs session.  This means that the facilities
  associated with @var{feature} are or will be available for other Lisp
--- 637,643 ----
  execute the @code{provide} call, so the subsequent @code{require} call
  does nothing when the file is loaded.
  
! @defun provide feature &optional subfeatures
  This function announces that @var{feature} is now loaded, or being
  loaded, into the current Emacs session.  This means that the facilities
  associated with @var{feature} are or will be available for other Lisp
***************
*** 648,653 ****
--- 648,656 ----
  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 @var{feature}.
+ 
  @smallexample
  features
       @result{} (bar bish)
***************
*** 681,690 ****
  provided}, unless @var{noerror} is address@hidden
  @end defun
  
! @defun featurep feature
  This function returns @code{t} if @var{feature} has been provided in the
  current Emacs session (i.e., if @var{feature} is a member of
! @code{features}.)
  @end defun
  
  @defvar features
--- 684,696 ----
  provided}, unless @var{noerror} is address@hidden
  @end defun
  
! @defun featurep feature &optional subfeature
  This function returns @code{t} if @var{feature} has been provided in the
  current Emacs session (i.e., if @var{feature} is a member of
! @code{features}.)  If @var{subfeature} is non-nil, then the function
! returns @code{t} only if that subfeature is provided as well (i.e.
! if @var{subfeature} is a member of the @var{subfeature} property
! of the @var{feature} symbol.)
  @end defun
  
  @defvar features
***************
*** 796,805 ****
  library @var{library}, if and when @var{library} is loaded.  If
  @var{library} is already loaded, it evaluates @var{form} right away.
  
! The library name @var{library} must exactly match the argument of
! @code{load}.  To get the proper results when an installed library is
! found by searching @code{load-path}, you should not include any
! directory names in @var{library}.
  
  An error in @var{form} does not undo the load, but does prevent
  execution of the rest of @var{form}.
--- 802,814 ----
  library @var{library}, if and when @var{library} is loaded.  If
  @var{library} is already loaded, it evaluates @var{form} right away.
  
! If @var{library} is a string, it must exactly match the argument of
! @code{load} used to load the library.  To get the proper results when an
! installed library is found by searching @code{load-path}, you should not
! include any directory names in @var{library}.
! 
! @var{library} can also be a feature (i.e. a symbol), in which case,
! @var{form} is evaluated when @code{(provide @var{library})} is called.
  
  An error in @var{form} does not undo the load, but does prevent
  execution of the rest of @var{form}.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]