Commit 93776a8c authored by Michael Albinus's avatar Michael Albinus
Browse files

* net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Handle

optional parameter RECURSIVE.
parent ecacb4d6
......@@ -520,9 +520,9 @@ is no information where to trace the message.")
newname)
ok-if-already-exists keep-date preserve-uid-gid))
(defun tramp-gvfs-handle-delete-directory (directory)
(defun tramp-gvfs-handle-delete-directory (directory &optional recursive)
"Like `delete-directory' for Tramp files."
(delete-directory (tramp-gvfs-fuse-file-name directory)))
(delete-directory (tramp-gvfs-fuse-file-name directory) recursive))
(defun tramp-gvfs-handle-delete-file (filename)
"Like `delete-file' for Tramp files."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment