EFS 1.15 bug: directory-files

Andy Norman (ange@hplb.hpl.hp.com)
Wed, 26 Jul 1995 15:41:44 +0100


Reporting for completeness.

directory-files under XEmacs 19.13-b5 has the following doc-string:

  directory-files: (DIRNAME &optional FULL MATCH NOSORT FILES-ONLY)
    -- a built-in function.
  Return a list of names of files in DIRECTORY.
  There are four optional arguments:
  If FULL is non-nil, absolute pathnames of the files are returned.
  If MATCH is non-nil, only pathnames containing that regexp are returned.
  If NOSORT is non-nil, the list is not sorted--its order is unpredictable.
   NOSORT is useful if you plan to sort the result yourself.
  If FILES-ONLY is the symbol t, then only the "files" in the directory
   will be returned; subdirectories will be excluded.  If FILES-ONLY is not
   nil and not t, then only the subdirectories will be returned.  Otherwise,
   if FILES-ONLY is nil (the default) then both files and subdirectories will
   be returned.

efs' overload of directory-files doesn't cater for the FILES-ONLY arg.

Emacs  : XEmacs 19.13 of Fri Jul 21 1995 on cuckoo (hpux) [formerly Lucid Emacs]
Package: efs

					-- ange -- <><

					ange@hplb.hpl.hp.com