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: Kevin Rodgers
Subject: Re: file-readable-p returns t for empty string
Date: Wed, 27 Feb 2002 09:47:33 -0700

Richard Stallman wrote:
> 
> Eli Zaretskii writes:
>     
>     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?

Do file systems actually allow an empty/null file name?  If not, how about
signalling an error?

-- 
Kevin Rodgers <kevinr@ihs.com>



reply via email to

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