summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2020-10-19 09:48:51 +0200
committerMichael Albinus <michael.albinus@gmx.de>2020-10-19 09:48:51 +0200
commit6d00233bfdf52fb3a03e8febabbfad5a331777cf (patch)
treef6733a8bfa1caefb298eeac87f0381534f91179e /src
parentf98e57b54bbb6c8aa3d5b00b7d8b33266025b9b1 (diff)
* src/dired.c (Fdirectory_files, Fdirectory_files_and_attributes):
Adapt docstring.
Diffstat (limited to 'src')
-rw-r--r--src/dired.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/dired.c b/src/dired.c
index 1584b6acf08..442d3aa48fb 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -293,7 +293,8 @@ DEFUN ("directory-files", Fdirectory_files, Sdirectory_files, 1, 4, 0,
There are three optional arguments:
If FULL is non-nil, return absolute file names. Otherwise return names
that are relative to the specified directory.
-If MATCH is non-nil, mention only file names that match the regexp MATCH.
+If MATCH is non-nil, mention only file names which non-directory part
+ matches the regexp MATCH.
If NOSORT is non-nil, the list is not sorted--its order is unpredictable.
Otherwise, the list returned is sorted with `string-lessp'.
NOSORT is useful if you plan to sort the result yourself. */)
@@ -325,11 +326,12 @@ by `file-attributes'.
This function accepts four optional arguments:
If FULL is non-nil, return absolute file names. Otherwise return names
that are relative to the specified directory.
-If MATCH is non-nil, mention only file names that match the regexp MATCH.
+If MATCH is non-nil, mention only file names which non-directory part
+ matches the regexp MATCH.
If NOSORT is non-nil, the list is not sorted--its order is unpredictable.
NOSORT is useful if you plan to sort the result yourself.
ID-FORMAT specifies the preferred format of attributes uid and gid, see
-`file-attributes' for further documentation.
+ `file-attributes' for further documentation.
On MS-Windows, performance depends on `w32-get-true-file-attributes',
which see. */)
(Lisp_Object directory, Lisp_Object full, Lisp_Object match,