"D Goel" <[EMAIL PROTECTED]> 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


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

Reply via email to