# HG changeset patch # User Richard M. Stallman # Date 1072729720 0 # Node ID bd30a9882e319f2c19b805193c5b9f2439d0f796 # Parent 1190ac85436f5de48890577e63b9125645f3926b (Contents of Directories): Add directory-files-and-attributes. diff -r 1190ac85436f -r bd30a9882e31 lispref/files.texi --- a/lispref/files.texi Mon Dec 29 20:28:06 2003 +0000 +++ b/lispref/files.texi Mon Dec 29 20:28:40 2003 +0000 @@ -2165,6 +2165,14 @@ that can be read. @end defun +@defun directory-files-and-attributes directory &optional full-name match-regexp nosort +This is similar to @code{directory-files} in deciding which files +to report on and how to report their names. However, instead +of returning a list of file names, it returns for each file a +list @code{(@var{filename} . @var{attributes})}, where @var{attributes} +is what @code{file-attributes} would return for that file. +@end defun + @defun file-name-all-versions file dirname This function returns a list of all versions of the file named @var{file} in directory @var{dirname}.