[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 22:29:04 +0300 |
27 февр. 2019 г., в 22:16, Eli Zaretskii <address@hidden> написал(а):
>> From: address@hidden
>> Date: Wed, 27 Feb 2019 22:04:15 +0300
>> Cc: address@hidden
>>
>>> Why do you need to reject empty strings?
>>
>> Filenames are generated externally, and the tool uses empty string notion
>> for no-file semantic
>
> Isn't that un-Emacsy? Why not nil?
That thing is out of my control, however `nil` is something specific and need
to be handled in special way, strings are universal
Another exmaple is just a text file with filenames on each line, where empty
lines occurs, you also need to check for empty string filenames
—
lg
- Re: file-exists-p on empty string, (continued)
Re: file-exists-p on empty string, lg . zevlg, 2019/02/27
Re: file-exists-p on empty string, lg . zevlg, 2019/02/27