aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/net/tramp-smb.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/net/tramp-smb.el b/lisp/net/tramp-smb.el
index 036b98e8df1..581e18b9999 100644
--- a/lisp/net/tramp-smb.el
+++ b/lisp/net/tramp-smb.el
@@ -276,9 +276,9 @@ pass to the OPERATION."
276 (tramp-compat-temporary-file-directory))))) 276 (tramp-compat-temporary-file-directory)))))
277 (unwind-protect 277 (unwind-protect
278 (progn 278 (progn
279 (copy-directory dirname tmpdir keep-date parents) 279 (tramp-compat-copy-directory dirname tmpdir keep-date parents)
280 (copy-directory tmpdir newname keep-date parents)) 280 (tramp-compat-copy-directory tmpdir newname keep-date parents))
281 (delete-directory tmpdir 'recursive)))) 281 (tramp-compat-delete-directory tmpdir 'recursive))))
282 282
283 ;; We can copy recursively. 283 ;; We can copy recursively.
284 ((or t1 t2) 284 ((or t1 t2)
@@ -371,7 +371,7 @@ PRESERVE-UID-GID is completely ignored."
371 (mapc 371 (mapc
372 (lambda (file) 372 (lambda (file)
373 (if (file-directory-p file) 373 (if (file-directory-p file)
374 (delete-directory file recursive) 374 (tramp-compat-delete-directory file recursive)
375 (delete-file file))) 375 (delete-file file)))
376 ;; We do not want to delete "." and "..". 376 ;; We do not want to delete "." and "..".
377 (directory-files 377 (directory-files