Mercurial > emacs
comparison lispref/files.texi @ 69201:0b687e350e7e
(Locating Files): Suggest additional values for the
SUFFIXES arg of `locate-file'. Update pxref.
author | Luc Teirlinck <teirllm@auburn.edu> |
---|---|
date | Tue, 28 Feb 2006 03:04:50 +0000 |
parents | 761f4a4fe6e8 |
children | 08c09d92fecc 5754737d1e04 |
comparison
equal
deleted
inserted
replaced
69200:63fbed8d9ae0 | 69201:0b687e350e7e |
---|---|
1281 suffixes to append to @var{filename} when searching. | 1281 suffixes to append to @var{filename} when searching. |
1282 @code{locate-file} tries each possible directory with each of these | 1282 @code{locate-file} tries each possible directory with each of these |
1283 suffixes. If @var{suffixes} is @code{nil}, or @code{("")}, then there | 1283 suffixes. If @var{suffixes} is @code{nil}, or @code{("")}, then there |
1284 are no suffixes, and @var{filename} is used only as-is. Typical | 1284 are no suffixes, and @var{filename} is used only as-is. Typical |
1285 values of @var{suffixes} are @code{exec-suffixes} (@pxref{Subprocess | 1285 values of @var{suffixes} are @code{exec-suffixes} (@pxref{Subprocess |
1286 Creation, exec-suffixes}) and @code{load-suffixes} (@pxref{Library | 1286 Creation, exec-suffixes}), @code{load-suffixes}, |
1287 Search, load-suffixes}). | 1287 @code{load-file-rep-suffixes} and the return value of the function |
1288 @code{get-load-suffixes} (@pxref{Load Suffixes}). | |
1288 | 1289 |
1289 Typical values for @var{path} are @code{exec-path} (@pxref{Subprocess | 1290 Typical values for @var{path} are @code{exec-path} (@pxref{Subprocess |
1290 Creation, exec-path}) when looking for executable programs or | 1291 Creation, exec-path}) when looking for executable programs or |
1291 @code{load-path} (@pxref{Library Search, load-path}) when looking for | 1292 @code{load-path} (@pxref{Library Search, load-path}) when looking for |
1292 Lisp files. If @var{filename} is absolute, @var{path} has no effect, | 1293 Lisp files. If @var{filename} is absolute, @var{path} has no effect, |