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: Stefan Monnier
Subject: Re: Emacs and Squiggles as filenames
Date: Mon, 11 Jul 2005 11:32:46 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

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

Note that other than the issue of filenames like "~", `concat' is useful
also in the case where `dir' is not an absolute directory and you don't
want the output to be an absolute filename either.


        Stefan





reply via email to

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