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

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

file-name-sans-extension returns an absolute file name when


From: Luc Teirlinck
Subject: file-name-sans-extension returns an absolute file name when
Date: Tue, 20 Jul 2004 12:25:24 -0500 (CDT)

FCC: sent.xmail
--text follows this line--
Kevin Rodgers wrote:
    
    (file-name-sans-extension "foo/abc.xyz")
    "/home/kevinr/foo/abc"                  ; bug

    (let ((default-directory nil))
       (file-name-sans-extension "foo/abc.xyz"))
    "/foo/abc"                              ; bug

This has been fixed in current CVS.

More precisely, it has been fixed since 2002-07-27:

2002-07-27  Richard M. Stallman  <rms@gnu.org>

            * files.el (file-name-sans-extension): Avoid expanding DIRECTORY.





reply via email to

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