emacs-devel
[Top][All Lists]
Advanced

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

Re: file-exists-p on empty string


From: lg . zevlg
Subject: Re: file-exists-p on empty string
Date: Wed, 27 Feb 2019 21:42:46 +0300

>> From: Evgeny Zajcev <address@hidden>
>> Date: Wed, 27 Feb 2019 15:29:53 +0300
>> 
>> It was quite surprising for me that
>> 
>>  (file-exists-p "")
>>  ==> t
> 
>  http://lists.gnu.org/archive/html/emacs-devel/2009-04/msg00528.html

Ah! I’m sorry, I searched for it, google answered nothing 

I use `(and (not (string-empty-p fn)) (file-exists-p fn))` at the moment, but 
its kind of ugly


—
lg


reply via email to

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