diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/dired.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/dired.c b/src/dired.c index 120934bfe74..039dd68c177 100644 --- a/src/dired.c +++ b/src/dired.c | |||
| @@ -169,9 +169,9 @@ directory_files_internal (Lisp_Object directory, Lisp_Object full, | |||
| 169 | { | 169 | { |
| 170 | ptrdiff_t ind = 0, last = MOST_POSITIVE_FIXNUM; | 170 | ptrdiff_t ind = 0, last = MOST_POSITIVE_FIXNUM; |
| 171 | 171 | ||
| 172 | if (!NILP(return_count)) | 172 | if (!NILP (return_count)) |
| 173 | { | 173 | { |
| 174 | CHECK_FIXNAT(return_count); | 174 | CHECK_FIXNAT (return_count); |
| 175 | last = XFIXNAT (return_count); | 175 | last = XFIXNAT (return_count); |
| 176 | } | 176 | } |
| 177 | 177 | ||
| @@ -302,7 +302,7 @@ directory_files_internal (Lisp_Object directory, Lisp_Object full, | |||
| 302 | 302 | ||
| 303 | DEFUN ("directory-files", Fdirectory_files, Sdirectory_files, 1, 5, 0, | 303 | DEFUN ("directory-files", Fdirectory_files, Sdirectory_files, 1, 5, 0, |
| 304 | doc: /* Return a list of names of files in DIRECTORY. | 304 | doc: /* Return a list of names of files in DIRECTORY. |
| 305 | There are three optional arguments: | 305 | There are four optional arguments: |
| 306 | If FULL is non-nil, return absolute file names. Otherwise return names | 306 | If FULL is non-nil, return absolute file names. Otherwise return names |
| 307 | that are relative to the specified directory. | 307 | that are relative to the specified directory. |
| 308 | If MATCH is non-nil, mention only file names whose non-directory part | 308 | If MATCH is non-nil, mention only file names whose non-directory part |
| @@ -338,7 +338,7 @@ Value is a list of the form: | |||
| 338 | where each FILEn-ATTRS is the attributes of FILEn as returned | 338 | where each FILEn-ATTRS is the attributes of FILEn as returned |
| 339 | by `file-attributes'. | 339 | by `file-attributes'. |
| 340 | 340 | ||
| 341 | This function accepts four optional arguments: | 341 | This function accepts five optional arguments: |
| 342 | If FULL is non-nil, return absolute file names. Otherwise return names | 342 | If FULL is non-nil, return absolute file names. Otherwise return names |
| 343 | that are relative to the specified directory. | 343 | that are relative to the specified directory. |
| 344 | If MATCH is non-nil, mention only file names whose non-directory part | 344 | If MATCH is non-nil, mention only file names whose non-directory part |
| @@ -347,10 +347,10 @@ If NOSORT is non-nil, the list is not sorted--its order is unpredictable. | |||
| 347 | NOSORT is useful if you plan to sort the result yourself. | 347 | NOSORT is useful if you plan to sort the result yourself. |
| 348 | ID-FORMAT specifies the preferred format of attributes uid and gid, see | 348 | ID-FORMAT specifies the preferred format of attributes uid and gid, see |
| 349 | `file-attributes' for further documentation. | 349 | `file-attributes' for further documentation. |
| 350 | On MS-Windows, performance depends on `w32-get-true-file-attributes', | ||
| 351 | which see. | ||
| 352 | If COUNT is non-nil and a natural number, the function will return | 350 | If COUNT is non-nil and a natural number, the function will return |
| 353 | COUNT number of file names (if so many are present). */) | 351 | COUNT number of file names (if so many are present). |
| 352 | On MS-Windows, performance depends on `w32-get-true-file-attributes', | ||
| 353 | which see. */) | ||
| 354 | (Lisp_Object directory, Lisp_Object full, Lisp_Object match, | 354 | (Lisp_Object directory, Lisp_Object full, Lisp_Object match, |
| 355 | Lisp_Object nosort, Lisp_Object id_format, Lisp_Object count) | 355 | Lisp_Object nosort, Lisp_Object id_format, Lisp_Object count) |
| 356 | { | 356 | { |