emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs and Squiggles as filenames


From: Paul Jarc
Subject: Re: Emacs and Squiggles as filenames
Date: Sun, 10 Jul 2005 00:05:57 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux)

"D Goel" <address@hidden> wrote:
> (expand-file-name (file-name-nondirectory fname) dir)
>
>
> should return fname back.  It is like an identity, right?  If not,
> what is the way to *always* correctly do an expand-file-name ?

This works for me:
(concat (file-name-as-directory "~/tmp")
        (file-name-nondirectory "~/tmp/~"))


paul




reply via email to

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