Mercurial > hg > xemacs-beta
comparison man/lispref/loading.texi @ 442:abe6d1db359e r21-2-36
Import from CVS: tag r21-2-36
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:35:02 +0200 |
parents | 3ecd8885ac67 |
children | 576fb035e263 |
comparison
equal
deleted
inserted
replaced
441:72a7cfa4a488 | 442:abe6d1db359e |
---|---|
197 This function searches for a file in the same way that @code{load} does, | 197 This function searches for a file in the same way that @code{load} does, |
198 and returns the file found (if any). (In fact, @code{load} uses this | 198 and returns the file found (if any). (In fact, @code{load} uses this |
199 function to search through @code{load-path}.) It searches for | 199 function to search through @code{load-path}.) It searches for |
200 @var{filename} through @var{path-list}, expanded by one of the optional | 200 @var{filename} through @var{path-list}, expanded by one of the optional |
201 @var{suffixes} (string of suffixes separated by @samp{:}s), checking for | 201 @var{suffixes} (string of suffixes separated by @samp{:}s), checking for |
202 access @var{mode} (0|1|2|4 = exists|executable|writeable|readable), | 202 access @var{mode} (0|1|2|4 = exists|executable|writable|readable), |
203 default readable. | 203 default readable. |
204 | 204 |
205 @code{locate-file} keeps hash tables of the directories it searches | 205 @code{locate-file} keeps hash tables of the directories it searches |
206 through, in order to speed things up. It tries valiantly to not get | 206 through, in order to speed things up. It tries valiantly to not get |
207 confused in the face of a changing and unpredictable environment, but | 207 confused in the face of a changing and unpredictable environment, but |
671 | 671 |
672 @deffn Command unload-feature feature &optional force | 672 @deffn Command unload-feature feature &optional force |
673 This command unloads the library that provided feature @var{feature}. | 673 This command unloads the library that provided feature @var{feature}. |
674 It undefines all functions, macros, and variables defined in that | 674 It undefines all functions, macros, and variables defined in that |
675 library with @code{defconst}, @code{defvar}, @code{defun}, | 675 library with @code{defconst}, @code{defvar}, @code{defun}, |
676 @code{defmacro}, @code{defsubst}, @code{definf-function} and | 676 @code{defmacro}, @code{defsubst}, @code{define-function} and |
677 @code{defalias}. It then restores any autoloads formerly associated | 677 @code{defalias}. It then restores any autoloads formerly associated |
678 with those symbols. (Loading saves these in the @code{autoload} | 678 with those symbols. (Loading saves these in the @code{autoload} |
679 property of the symbol.) | 679 property of the symbol.) |
680 | 680 |
681 Ordinarily, @code{unload-feature} refuses to unload a library on which | 681 Ordinarily, @code{unload-feature} refuses to unload a library on which |