emacs-devel
[Top][All Lists]
Advanced

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

Re: `concat' a dir and a file (was: Strange `file-name-sans-extension' b


From: Eli Zaretskii
Subject: Re: `concat' a dir and a file (was: Strange `file-name-sans-extension' behavior )
Date: Tue, 20 Aug 2002 14:33:20 +0300

> Date: Mon, 19 Aug 2002 12:39:16 -0600 (MDT)
> From: Richard Stallman <address@hidden>
> 
> The right way to handle that situation is
> 
>   (concat (file-name-as-directory dirfile) file)
> 
> Do you see any case where that would give incorrect result
> on MS systems?

Looks like file-name-as-directory needs some work on MS systems:

  M-: (file-name-as-directory "d:") RET => "d:/"

This is wrong (I verified that the cwd on drive D: is not the root
directory).

I'll try to see how to fix that.




reply via email to

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