diff options
Diffstat (limited to 'lisp/net/tramp-gvfs.el')
| -rw-r--r-- | lisp/net/tramp-gvfs.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/net/tramp-gvfs.el b/lisp/net/tramp-gvfs.el index 0b40ff867f2..ca5e959bea5 100644 --- a/lisp/net/tramp-gvfs.el +++ b/lisp/net/tramp-gvfs.el | |||
| @@ -1055,9 +1055,10 @@ file names." | |||
| 1055 | ;; code in case of direct copy/move. Apply | 1055 | ;; code in case of direct copy/move. Apply |
| 1056 | ;; sanity checks. | 1056 | ;; sanity checks. |
| 1057 | (or (not equal-remote) | 1057 | (or (not equal-remote) |
| 1058 | (tramp-gvfs-info newname) | 1058 | (and |
| 1059 | (eq op 'copy) | 1059 | (tramp-gvfs-info newname) |
| 1060 | (not (tramp-gvfs-info filename)))) | 1060 | (or (eq op 'copy) |
| 1061 | (not (tramp-gvfs-info filename)))))) | ||
| 1061 | 1062 | ||
| 1062 | (if (or (not equal-remote) | 1063 | (if (or (not equal-remote) |
| 1063 | (and equal-remote | 1064 | (and equal-remote |