"D Goel" <[EMAIL PROTECTED]> writes:

> [EMAIL PROTECTED] (Paul Jarc) writes:
>
>> "D Goel" <[EMAIL PROTECTED]> wrote:
>>> (expand-file-name (file-name-nondirectory fname) dir)
>>>
>
>> This works for me:
>> (concat (file-name-as-directory "~/tmp")
>>         (file-name-nondirectory "~/tmp/~"))
>>
>
>
> Thanks, I will use just that. 
>
> (I do remember reading in the manual though that the former is
> preferable, because it is portable across OSes, including VMS..)

The latter, with file-name-as-directory, should also do the trick on
VMS unless I am mistaken.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to