diff options
| author | Stephen Leake | 2015-10-01 09:15:26 -0500 |
|---|---|---|
| committer | Stephen Leake | 2015-10-01 09:34:00 -0500 |
| commit | 7a94cf9656839fb4072f3dd2eb1859e5f2c64f94 (patch) | |
| tree | a6b3e126e2bb387aad8180c76b659b1b6bafa8e5 | |
| parent | 632847e07c9dbe4ef2d1defd332254f1298ea912 (diff) | |
| download | emacs-7a94cf9656839fb4072f3dd2eb1859e5f2c64f94.tar.gz emacs-7a94cf9656839fb4072f3dd2eb1859e5f2c64f94.zip | |
Improve doc strings in dired.c
* src/dired.c (Ffile_name_completion, Ffile_name_all_completions):
Improve doc string.
| -rw-r--r-- | src/dired.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/dired.c b/src/dired.c index 97736673f5d..3486e49b566 100644 --- a/src/dired.c +++ b/src/dired.c | |||
| @@ -397,8 +397,10 @@ Returns nil if DIRECTORY contains no name starting with FILE. | |||
| 397 | If PREDICATE is non-nil, call PREDICATE with each possible | 397 | If PREDICATE is non-nil, call PREDICATE with each possible |
| 398 | completion (in absolute form) and ignore it if PREDICATE returns nil. | 398 | completion (in absolute form) and ignore it if PREDICATE returns nil. |
| 399 | 399 | ||
| 400 | This function ignores some of the possible completions as | 400 | This function ignores some of the possible completions as determined |
| 401 | determined by the variable `completion-ignored-extensions', which see. */) | 401 | by the variables `completion-regexp-list' and |
| 402 | `completion-ignored-extensions', which see. `completion-regexp-list' | ||
| 403 | is matched against file and directory names relative to DIRECTORY. */) | ||
| 402 | (Lisp_Object file, Lisp_Object directory, Lisp_Object predicate) | 404 | (Lisp_Object file, Lisp_Object directory, Lisp_Object predicate) |
| 403 | { | 405 | { |
| 404 | Lisp_Object handler; | 406 | Lisp_Object handler; |
| @@ -422,7 +424,12 @@ determined by the variable `completion-ignored-extensions', which see. */) | |||
| 422 | DEFUN ("file-name-all-completions", Ffile_name_all_completions, | 424 | DEFUN ("file-name-all-completions", Ffile_name_all_completions, |
| 423 | Sfile_name_all_completions, 2, 2, 0, | 425 | Sfile_name_all_completions, 2, 2, 0, |
| 424 | doc: /* Return a list of all completions of file name FILE in directory DIRECTORY. | 426 | doc: /* Return a list of all completions of file name FILE in directory DIRECTORY. |
| 425 | These are all file names in directory DIRECTORY which begin with FILE. */) | 427 | These are all file names in directory DIRECTORY which begin with FILE. |
| 428 | |||
| 429 | This function ignores some of the possible completions as determined | ||
| 430 | by the variables `completion-regexp-list' and | ||
| 431 | `completion-ignored-extensions', which see. `completion-regexp-list' | ||
| 432 | is matched against file and directory names relative to DIRECTORY. */) | ||
| 426 | (Lisp_Object file, Lisp_Object directory) | 433 | (Lisp_Object file, Lisp_Object directory) |
| 427 | { | 434 | { |
| 428 | Lisp_Object handler; | 435 | Lisp_Object handler; |