From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: emacs-devel@gnu.org, Thierry Volpiatto <thierry.volpiatto@gmail.com>
Subject: Re: directory-files called with empty string
Date: Tue, 08 Dec 2009 20:34:43 -0500 [thread overview]
Message-ID: <jwvaaxtexra.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m23a3laxsl.fsf@igel.home> (Andreas Schwab's message of "Tue, 08 Dec 2009 23:47:06 +0100")
>> 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.
Stefan
next prev parent reply other threads:[~2009-12-09 1:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-08 21:20 directory-files called with empty string Thierry Volpiatto
2009-12-08 22:47 ` Andreas Schwab
2009-12-09 1:34 ` Stefan Monnier [this message]
2009-12-09 6:58 ` Thierry Volpiatto
2009-12-09 14:27 ` Stefan Monnier
2009-12-09 17:35 ` Thierry Volpiatto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvaaxtexra.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=schwab@linux-m68k.org \
--cc=thierry.volpiatto@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).