aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-07-31 22:01:54 +0000
committerRichard M. Stallman2002-07-31 22:01:54 +0000
commit430190ba6d2dfc40944ebf94b6090cc621b8d1f7 (patch)
tree03a252c8c1f013963a6200030d51b0c775268c2f
parent7f1cdd46480dcaa30bd2056e054ab7ebca5c93dd (diff)
downloademacs-430190ba6d2dfc40944ebf94b6090cc621b8d1f7.tar.gz
emacs-430190ba6d2dfc40944ebf94b6090cc621b8d1f7.zip
(pcomplete-entries): Doc fix.
-rw-r--r--lisp/pcomplete.el6
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.
698This function always uses the last argument as the basis for
699completion.
700If REGEXP is non-nil, it is a regular expression used to refine the 698If REGEXP is non-nil, it is a regular expression used to refine the
701match (files not matching the REGEXP will be excluded). 699match (files not matching the REGEXP will be excluded).
702If PREDICATE is non-nil, it will also be used to refine the match 700If 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).
704If PATH is non-nil, it will be used for completion instead of 702If no directory information can be extracted from the completed
705consulting the last argument." 703component, 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)