bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in file-name-sans-extension?


From: Eli Zaretskii
Subject: Re: bug in file-name-sans-extension?
Date: Mon, 22 Oct 2001 18:19:30 +0200 (IST)

On Thu, 18 Oct 2001, Dan Sommers wrote:

> The function file-name-sans-extension doesn't work as I expected
> when I give it a file name like "/directory/.emacs":
> 
> (file-name-sans-extension "/directory/.emacs")
> "/directory"
> 
> I think, in this admittedly degenerate case, that the function
> should return the whole file name, as if given a file name
> without an extension:
> 
> (file-name-sans-extension "/directory/emacs")
> "/directory/emacs"

Thanks, I made the change you suggested for the next major release.



reply via email to

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