[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: file-readable-p returns t for empty string
From: |
Eli Zaretskii |
Subject: |
Re: file-readable-p returns t for empty string |
Date: |
Wed, 27 Feb 2002 12:13:44 +0200 (IST) |
On Tue, 26 Feb 2002, Richard Stallman wrote:
> That's because all these primitives call expand-file-name internally,
> and expand-file-name returns the buffer's default directory when
> passed an empty string as an argument.
>
> I don't know off the top of my head why does expand-file-name do that.
>
> Do you have something better to suggest?
No. I'd bet some feature already uses that.
- Re: file-readable-p returns t for empty string, (continued)
- Re: file-readable-p returns t for empty string, David Kastrup, 2002/02/27
- Re: file-readable-p returns t for empty string, Richard Stallman, 2002/02/27
- Re: file-readable-p returns t for empty string, David Kastrup, 2002/02/28
- Re: file-readable-p returns t for empty string, Eli Zaretskii, 2002/02/28
- Re: file-readable-p returns t for empty string, David Kastrup, 2002/02/28
- Re: file-readable-p returns t for empty string, Eli Zaretskii, 2002/02/28
- Re: file-readable-p returns t for empty string, David Kastrup, 2002/02/28
- Re: file-readable-p returns t for empty string, Eli Zaretskii, 2002/02/28
- Re: file-readable-p returns t for empty string, Richard Stallman, 2002/02/28
- Re: file-readable-p returns t for empty string, David Kastrup, 2002/02/28
- Re: file-readable-p returns t for empty string,
Eli Zaretskii <=
- Re: file-readable-p returns t for empty string, David Kastrup, 2002/02/27
- Re: file-readable-p returns t for empty string, Stefan Monnier, 2002/02/28
- Re: file-readable-p returns t for empty string, Kevin Rodgers, 2002/02/27
- Re: file-readable-p returns t for empty string, Andreas Schwab, 2002/02/27
Re: file-readable-p returns t for empty string, Andreas Schwab, 2002/02/26