bug-gnu-emacs
[Top][All Lists]
Advanced

[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:17:39 +0200

On 27 Feb 2002, David Kastrup wrote:

> a) just leave it alone.  Someone else will have to deal with it.

We need to establish whether the callers of expand-file-name indeed can 
deal with that.  Since an empty string is what you get by typing RET to a 
prompt, it's quite possible that some application code counts on this 
behavior.

I also think callers trust expand-file-name to return a valid absolute 
file name, which "" isn't.

I don't mean to say that expand-file-name should be left alone, but 
before we change anything, some footwork is required.  We might break 
more than we fix.



reply via email to

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