summaryrefslogtreecommitdiff
path: root/lisp/net/tramp-gvfs.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2009-11-07 23:54:29 +0000
committerMichael Albinus <michael.albinus@gmx.de>2009-11-07 23:54:29 +0000
commit55a57586c6a589cba3b626a47789aaf65b33b028 (patch)
tree73b54d3ea1a63a215d1beb0cf78314df55a0f81b /lisp/net/tramp-gvfs.el
parenteb99095dbd102b7784582cd874ced18bdfb6042c (diff)
downloademacs-55a57586c6a589cba3b626a47789aaf65b33b028.tar.gz
* net/tramp-fish.el (tramp-fish-handle-delete-directory):
* net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use `tramp-compat-delete-directory'.
Diffstat (limited to 'lisp/net/tramp-gvfs.el')
-rw-r--r--lisp/net/tramp-gvfs.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/net/tramp-gvfs.el b/lisp/net/tramp-gvfs.el
index 45f30330b09..94f6f742017 100644
--- a/lisp/net/tramp-gvfs.el
+++ b/lisp/net/tramp-gvfs.el
@@ -522,7 +522,8 @@ is no information where to trace the message.")
(defun tramp-gvfs-handle-delete-directory (directory &optional recursive)
"Like `delete-directory' for Tramp files."
- (delete-directory (tramp-gvfs-fuse-file-name directory) recursive))
+ (tramp-compat-delete-directory
+ (tramp-gvfs-fuse-file-name directory) recursive))
(defun tramp-gvfs-handle-delete-file (filename)
"Like `delete-file' for Tramp files."