aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Leake2015-10-01 09:15:26 -0500
committerStephen Leake2015-10-01 09:34:00 -0500
commit7a94cf9656839fb4072f3dd2eb1859e5f2c64f94 (patch)
treea6b3e126e2bb387aad8180c76b659b1b6bafa8e5
parent632847e07c9dbe4ef2d1defd332254f1298ea912 (diff)
downloademacs-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.c13
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.
397If PREDICATE is non-nil, call PREDICATE with each possible 397If PREDICATE is non-nil, call PREDICATE with each possible
398completion (in absolute form) and ignore it if PREDICATE returns nil. 398completion (in absolute form) and ignore it if PREDICATE returns nil.
399 399
400This function ignores some of the possible completions as 400This function ignores some of the possible completions as determined
401determined by the variable `completion-ignored-extensions', which see. */) 401by the variables `completion-regexp-list' and
402`completion-ignored-extensions', which see. `completion-regexp-list'
403is 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. */)
422DEFUN ("file-name-all-completions", Ffile_name_all_completions, 424DEFUN ("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.
425These are all file names in directory DIRECTORY which begin with FILE. */) 427These are all file names in directory DIRECTORY which begin with FILE.
428
429This function ignores some of the possible completions as determined
430by the variables `completion-regexp-list' and
431`completion-ignored-extensions', which see. `completion-regexp-list'
432is 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;