emacs-devel
[Top][All Lists]
Advanced

[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: Thu, 28 Feb 2019 01:09:55 +0300

> The problem is that docstrings describe the behavior of a specific function, 
> so they usually don't mention the more general aspects that affect all 
> functions of a given subsystem, such as here the general treatment of the 
> empty string when used as a file name. Otherwise, every 
> file-name-manipulating function would have to repeat this information in its 
> docstring.

So, maybe FILENAME argument at least could be renamed to NAME to give at least 
some hint that this is not a filename, but just a name hint which will be 
expanded and canonised to real filename?

--
lg


reply via email to

[Prev in Thread] Current Thread [Next in Thread]