summaryrefslogtreecommitdiff
path: root/lisp/net/tramp-ftp.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2007-10-04 20:09:32 +0000
committerMichael Albinus <michael.albinus@gmx.de>2007-10-04 20:09:32 +0000
commit258800f85f19157263bfdbb96c526f108009364c (patch)
tree623c3c678bdab109194db9454abe399c2c75dc6c /lisp/net/tramp-ftp.el
parentbbe6f2aa1141fe2d2d45a8b79e4eaa646bcd7c4f (diff)
downloademacs-258800f85f19157263bfdbb96c526f108009364c.tar.gz
* net/tramp.el (tramp-make-temp-file): Move to tramp-compat.el.
(tramp-do-copy-or-rename-file-directly): Handle tmpfile only in the cond clauses where needed. (tramp-handle-write-region): Rearrange code for proper handling of tmpfile. * net/tramp-compat.el (tramp-compat-make-temp-file): New defsubst. * net/tramp.el: * net/tramp-fish.el: * net/tramp-ftp.el: * net/tramp-smb.el: Rename `tramp-make-temp-file' to `tramp-compat-make-temp-file'.
Diffstat (limited to 'lisp/net/tramp-ftp.el')
-rw-r--r--lisp/net/tramp-ftp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/tramp-ftp.el b/lisp/net/tramp-ftp.el
index cf98ecba7d5..85416d308d3 100644
--- a/lisp/net/tramp-ftp.el
+++ b/lisp/net/tramp-ftp.el
@@ -158,7 +158,7 @@ pass to the OPERATION."
(not (tramp-ftp-file-name-p (cadr args))))
(let* ((filename (car args))
(newname (cadr args))
- (tmpfile (tramp-make-temp-file filename))
+ (tmpfile (tramp-compat-make-temp-file filename))
(args (cddr args)))
(apply operation filename tmpfile args)
(rename-file tmpfile newname (car args))))