|
From: | Stefan Monnier |
Subject: | Re: file-exists-p on empty string |
Date: | Wed, 27 Feb 2019 10:53:59 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> (file-exists-p "") > ==> t Elisp doesn't handle file names quite like POSIX, indeed. I don't think we can change the above behavior without introducing other odd behaviors. E.g. currently (file-name-nondirectory "/a/b/") return "", which is consistent with the above behavior. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |