summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-02-09 01:37:35 +0000
committerRichard M. Stallman <rms@gnu.org>1996-02-09 01:37:35 +0000
commit61bbedbf3d3b253a6a451094ab1f4bd6a863c73f (patch)
tree271f9b30a86cf2615a1d0aeb0d8dd12ecf75c0fb
parente0fb2479840ff43320a4b983f7b73e12def33c1a (diff)
downloademacs-61bbedbf3d3b253a6a451094ab1f4bd6a863c73f.tar.gz
(Fdirectory_files): Doc fix.
-rw-r--r--src/dired.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/dired.c b/src/dired.c
index 5334ed64121..ce578a175a2 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -106,8 +106,9 @@ Lisp_Object Qfile_attributes;
DEFUN ("directory-files", Fdirectory_files, Sdirectory_files, 1, 4, 0,
"Return a list of names of files in DIRECTORY.\n\
There are three optional arguments:\n\
-If FULL is non-nil, absolute pathnames of the files are returned.\n\
-If MATCH is non-nil, only pathnames containing that regexp are returned.\n\
+If FULL is non-nil, return absolute file names. Otherwise return names\n\
+ that are relative to the specified directory.\n\
+If MATCH is non-nil, mention only file names that match the regexp MATCH.\n\
If NOSORT is non-nil, the list is not sorted--its order is unpredictable.\n\
NOSORT is useful if you plan to sort the result yourself.")
(directory, full, match, nosort)
@@ -229,7 +230,7 @@ DEFUN ("file-name-completion", Ffile_name_completion, Sfile_name_completion,
2, 2, 0,
"Complete file name FILE in directory DIRECTORY.\n\
Returns the longest string\n\
-common to all filenames in DIRECTORY that start with FILE.\n\
+common to all file names in DIRECTORY that start with FILE.\n\
If there is only one and FILE matches it exactly, returns t.\n\
Returns nil if DIR contains no name starting with FILE.")
(file, directory)