comparison lispref/loading.texi @ 69217:6912dc8ee005

(Load Suffixes): Rephrase last paragraph.
author Luc Teirlinck <teirllm@auburn.edu>
date Wed, 01 Mar 2006 01:19:52 +0000
parents 63fbed8d9ae0
children 4cdc904deac6
comparison
equal deleted inserted replaced
69216:865ed0a6794f 69217:6912dc8ee005
209 function returns @code{(".elc" "elc.gz" ".el" ".el.gz")} if Auto 209 function returns @code{(".elc" "elc.gz" ".el" ".el.gz")} if Auto
210 Compression mode is enabled and @code{(".elc" ".el")} if Auto 210 Compression mode is enabled and @code{(".elc" ".el")} if Auto
211 Compression mode is disabled. 211 Compression mode is disabled.
212 @end defun 212 @end defun
213 213
214 To summarize, if both its @var{nosuffix} and @var{must-suffix} 214 To summarize, @code{load} normally first tries the suffixes in the
215 arguments are @code{nil}, @code{load} first tries the suffixes in the 215 value of @code{(get-load-suffixes)} and then those in
216 return value of @code{get-load-suffixes} and then those in
217 @code{load-file-rep-suffixes}. If @var{nosuffix} is non-@code{nil}, 216 @code{load-file-rep-suffixes}. If @var{nosuffix} is non-@code{nil},
218 it only tries the latter and is @var{must-suffix} is non-@code{nil}, 217 it skips the former group, and if @var{must-suffix} is non-@code{nil},
219 only the former. 218 it skips the latter group.
220 219
221 @node Library Search 220 @node Library Search
222 @section Library Search 221 @section Library Search
223 222
224 When Emacs loads a Lisp library, it searches for the library 223 When Emacs loads a Lisp library, it searches for the library