diff options
| author | Richard M. Stallman | 2003-12-29 20:28:40 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2003-12-29 20:28:40 +0000 |
| commit | 67203dbdf11bbeab54138e9dac5a0fcccea4b1e4 (patch) | |
| tree | e3c7c5ad4c82128e8973e8c6c19e2e3f51b1437c | |
| parent | 00b3c1cd3194a3d2586d50bb2ce5ee39f88bff6f (diff) | |
| download | emacs-67203dbdf11bbeab54138e9dac5a0fcccea4b1e4.tar.gz emacs-67203dbdf11bbeab54138e9dac5a0fcccea4b1e4.zip | |
(Contents of Directories):
Add directory-files-and-attributes.
| -rw-r--r-- | lispref/files.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lispref/files.texi b/lispref/files.texi index 83c33752323..575a90ccf92 100644 --- a/lispref/files.texi +++ b/lispref/files.texi | |||
| @@ -2165,6 +2165,14 @@ An error is signaled if @var{directory} is not the name of a directory | |||
| 2165 | that can be read. | 2165 | that can be read. |
| 2166 | @end defun | 2166 | @end defun |
| 2167 | 2167 | ||
| 2168 | @defun directory-files-and-attributes directory &optional full-name match-regexp nosort | ||
| 2169 | This is similar to @code{directory-files} in deciding which files | ||
| 2170 | to report on and how to report their names. However, instead | ||
| 2171 | of returning a list of file names, it returns for each file a | ||
| 2172 | list @code{(@var{filename} . @var{attributes})}, where @var{attributes} | ||
| 2173 | is what @code{file-attributes} would return for that file. | ||
| 2174 | @end defun | ||
| 2175 | |||
| 2168 | @defun file-name-all-versions file dirname | 2176 | @defun file-name-all-versions file dirname |
| 2169 | This function returns a list of all versions of the file named | 2177 | This function returns a list of all versions of the file named |
| 2170 | @var{file} in directory @var{dirname}. | 2178 | @var{file} in directory @var{dirname}. |