emacs-devel
[Top][All Lists]
Advanced

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

Re: directory-files called with empty string


From: Stefan Monnier
Subject: Re: directory-files called with empty string
Date: Wed, 09 Dec 2009 09:27:03 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

>>>> is it the normal behavior of directory-files to use default-directory
>>>> when it is called with empty string or is it a bug?
>>> That is the normal behviour of every file related function.  It is
>>> basically what expand-file-name defines.
>> Indeed, although I don't think it's documented, and code had probably
>> better not rely on it.
> Ok i see, thank you Stefan and Andreas, maybe that should be documented, for
> all file related functions.

I prefer to keep features which are accidental undocumented, unless we
really consider them as good features (even if we bumped into them by
accident), in which case they can be documented and their use can
be blessed.


        Stefan




reply via email to

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