all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Why does (file-exists-p "") return t?
@ 2023-02-09 10:41 Edgar Vincent
  2023-02-09 10:56 ` Gregory Heytings
  0 siblings, 1 reply; 10+ messages in thread
From: Edgar Vincent @ 2023-02-09 10:41 UTC (permalink / raw)
  To: help-gnu-emacs

Hello everyone,

I just noticed that (file-exists-p “”) returns t on my system (Emacs 28.2 on Arch Linux).
I am not familiar with Emacs’ file handling internals, so the answer might be obvious.
However, I did not find any mention of this case in the docstring or the Elisp manual.

Thanks a lot,

Edgar Vincent


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-02-11 19:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-09 10:41 Why does (file-exists-p "") return t? Edgar Vincent
2023-02-09 10:56 ` Gregory Heytings
2023-02-09 11:10   ` Edgar Vincent
2023-02-09 13:36     ` Eli Zaretskii
2023-02-09 21:05       ` Edgar Vincent
2023-02-10  4:20         ` Jean Louis
2023-02-11 10:10           ` Bruno Barbier
2023-02-11 11:28             ` Jean Louis
2023-02-11 19:34               ` Bruno Barbier
2023-02-11 10:39           ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.