Subject: bug#16851: 24.3.50; file-truename removes trailing / on remote hosts

From: Andreas Schwab <[email-masked]>
Date: Sun, 23 Feb 2014 14:10:11 +0100

Leo Liu <[email-masked]> writes:

> 1. Open dired on a remote host
> 2. eval (file-truename default-directory)
>
> The trailing / is gone.

I don't think this is a bug as file-truename operates on file names, but
default-directory is a directory (so use directory-file-name first, and
file-name-as-directory afterwards).

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."