changeset 46762:85cd02534241

(pcomplete-entries): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Wed, 31 Jul 2002 22:01:54 +0000
parents 80075b7b7612
children 4dff8f2c0a4e
files lisp/pcomplete.el
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/pcomplete.el	Wed Jul 31 22:01:07 2002 +0000
+++ b/lisp/pcomplete.el	Wed Jul 31 22:01:54 2002 +0000
@@ -695,14 +695,12 @@
 
 (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)