diff options
author | Richard M. Stallman <[email protected]> | 2002-07-31 22:01:54 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 2002-07-31 22:01:54 +0000 |
commit | 430190ba6d2dfc40944ebf94b6090cc621b8d1f7 (patch) | |
tree | 03a252c8c1f013963a6200030d51b0c775268c2f /lisp/pcomplete.el | |
parent | 7f1cdd46480dcaa30bd2056e054ab7ebca5c93dd (diff) |
(pcomplete-entries): Doc fix.
Diffstat (limited to 'lisp/pcomplete.el')
-rw-r--r-- | lisp/pcomplete.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/pcomplete.el b/lisp/pcomplete.el index 9b944ce4cf..3ab1619f12 100644 --- a/lisp/pcomplete.el +++ b/lisp/pcomplete.el @@ -695,14 +695,12 @@ Magic characters are those in `pcomplete-arg-quote-list'." (defun pcomplete-entries (&optional regexp predicate) "Complete against a list of directory candidates. -This function always uses the last argument as the basis for -completion. If REGEXP is non-nil, it is a regular expression used to refine the match (files not matching the REGEXP will be excluded). If PREDICATE is non-nil, it will also be used to refine the match \(files for which the PREDICATE returns nil will be excluded). -If PATH is non-nil, it will be used for completion instead of -consulting the last argument." +If no directory information can be extracted from the completed +component, DEFAULT-DIRECTORY is used as the basis for completion." (let* ((name (substitute-env-vars pcomplete-stub)) (default-directory (expand-file-name (or (file-name-directory name) |