diff options
| author | Richard M. Stallman | 2002-07-31 22:01:54 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-07-31 22:01:54 +0000 |
| commit | 430190ba6d2dfc40944ebf94b6090cc621b8d1f7 (patch) | |
| tree | 03a252c8c1f013963a6200030d51b0c775268c2f | |
| parent | 7f1cdd46480dcaa30bd2056e054ab7ebca5c93dd (diff) | |
| download | emacs-430190ba6d2dfc40944ebf94b6090cc621b8d1f7.tar.gz emacs-430190ba6d2dfc40944ebf94b6090cc621b8d1f7.zip | |
(pcomplete-entries): Doc fix.
| -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 9b944ce4cf2..3ab1619f127 100644 --- a/lisp/pcomplete.el +++ b/lisp/pcomplete.el | |||
| @@ -695,14 +695,12 @@ Magic characters are those in `pcomplete-arg-quote-list'." | |||
| 695 | 695 | ||
| 696 | (defun pcomplete-entries (&optional regexp predicate) | 696 | (defun pcomplete-entries (&optional regexp predicate) |
| 697 | "Complete against a list of directory candidates. | 697 | "Complete against a list of directory candidates. |
| 698 | This function always uses the last argument as the basis for | ||
| 699 | completion. | ||
| 700 | If REGEXP is non-nil, it is a regular expression used to refine the | 698 | If REGEXP is non-nil, it is a regular expression used to refine the |
| 701 | match (files not matching the REGEXP will be excluded). | 699 | match (files not matching the REGEXP will be excluded). |
| 702 | If PREDICATE is non-nil, it will also be used to refine the match | 700 | If PREDICATE is non-nil, it will also be used to refine the match |
| 703 | \(files for which the PREDICATE returns nil will be excluded). | 701 | \(files for which the PREDICATE returns nil will be excluded). |
| 704 | If PATH is non-nil, it will be used for completion instead of | 702 | If no directory information can be extracted from the completed |
| 705 | consulting the last argument." | 703 | component, DEFAULT-DIRECTORY is used as the basis for completion." |
| 706 | (let* ((name (substitute-env-vars pcomplete-stub)) | 704 | (let* ((name (substitute-env-vars pcomplete-stub)) |
| 707 | (default-directory (expand-file-name | 705 | (default-directory (expand-file-name |
| 708 | (or (file-name-directory name) | 706 | (or (file-name-directory name) |