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:38:26 -0500 (CDT)

FCC: sent.xmail
--text follows this line--
Sorry if I wind up sending this twice, but I did not get this in my
mail archive file, so I believe something went wrong the first time I
tried to send it.

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:

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]