diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/files.texi | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index 735e08eb324..edfb045a795 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -2421,11 +2421,13 @@ the file, which in some cases may cause a security hole. | |||
| 2421 | This section describes low-level subroutines for completing a file | 2421 | This section describes low-level subroutines for completing a file |
| 2422 | name. For higher level functions, see @ref{Reading File Names}. | 2422 | name. For higher level functions, see @ref{Reading File Names}. |
| 2423 | 2423 | ||
| 2424 | @defun file-name-all-completions partial-filename directory | 2424 | @defun file-name-all-completions partial-filename directory &optional predicate |
| 2425 | This function returns a list of all possible completions for a file | 2425 | This function returns a list of all possible completions for a file in |
| 2426 | whose name starts with @var{partial-filename} in directory | 2426 | directory @var{directory} whose name starts with |
| 2427 | @var{directory}. The order of the completions is the order of the files | 2427 | @var{partial-filename} and for which @var{predicate} (called with the |
| 2428 | in the directory, which is unpredictable and conveys no useful | 2428 | filename) returns non-nil. If @var{predicate} is nil (the default), it |
| 2429 | is ignored. The order of the completions is the order of the files in | ||
| 2430 | the directory, which is unpredictable and conveys no useful | ||
| 2429 | information. | 2431 | information. |
| 2430 | 2432 | ||
| 2431 | The argument @var{partial-filename} must be a file name containing no | 2433 | The argument @var{partial-filename} must be a file name containing no |