|
From: | Jean Louis |
Subject: | Re: Why does (file-exists-p "") return t? |
Date: | Fri, 10 Feb 2023 07:20:01 +0300 |
User-agent: | Mutt/2.2.9+54 (af2080d) (2022-11-21) |
* Edgar Vincent <e-v@posteo.net> [2023-02-10 00:11]: > I didn’t know that file-exists-p used expand-file-name, but it does seem > obvious. To avoid the problem maybe you should use `expand-file-name' before you check it with `file-exists-p' As otherwise you may check the wrong path. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/
[Prev in Thread] | Current Thread | [Next in Thread] |