>From 21fc40f30b770d92fef9229f1d52f245f8b41fa0 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Thu, 9 Jun 2011 19:04:08 +0200 Subject: [PATCH 3/3] Use `file-truename' in `tramp-adb-handle-file-local-copy'. --- tramp-adb.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tramp-adb.el b/tramp-adb.el index c56c3af..388f5f2 100644 --- a/tramp-adb.el +++ b/tramp-adb.el @@ -440,7 +440,7 @@ Convert (\"-al\") to (\"-a\" \"-l\"). Remove arguments like \"--dired\"." (defun tramp-adb-handle-file-local-copy (filename) "Like `file-local-copy' for Tramp files." (with-parsed-tramp-file-name filename nil - (unless (file-exists-p filename) + (unless (file-exists-p (file-truename filename)) (tramp-error v 'file-error "Cannot make local copy of non-existing file `%s'" filename)) -- 1.7.4.1