[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
Re: file-exists-p on empty string, Stefan Monnier, 2019/02/27
Re: file-exists-p on empty string, Eli Zaretskii, 2019/02/27
Re: file-exists-p on empty string, lg . zevlg, 2019/02/27
Re: file-exists-p on empty string, lg . zevlg, 2019/02/27