tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help needed from XEmacs gurus (was: Invalid format character: ?m)


From: Daniel Serodio
Subject: Re: Help needed from XEmacs gurus (was: Invalid format character: ?m)
Date: 22 Jul 2002 16:33:24 -0300

On Mon, 2002-07-22 at 16:28, Kai Großjohann wrote:
> Daniel Serodio <address@hidden> writes:
> 
> > Signaling: (wrong-number-of-arguments (lambda (directory &optional full
> > match nosort) "Like `directory-files' for tramp files." [...]) 5)
> 
> Okay.  Something called directory-files with five arguments, but Tramp
> only accepts four.  What is the documentation of directory-files in
> your XEmacs?

`directory-files' is a built-in function
(directory-files DIRECTORY &optional FULL MATCH NOSORT FILES-ONLY)

Documentation:
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.


-- 
[]'s
Daniel Serodio




reply via email to

[Prev in Thread] Current Thread [Next in Thread]