Fix Bug#26763
commita26e33a1a776affcbf8cdd012297d48999ba8e80
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 3 May 2017 19:49:32 +0000 (3 21:49 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 3 May 2017 19:49:32 +0000 (3 21:49 +0200)
tree6919deda444f6255730730c7631fdb472cf014c8
parentb867eb8ecf67e9fb8167d950316ba762ac561b1c
Fix Bug#26763

* lisp/files.el (delete-directory): Call file name handler
with `trash' argument.

* lisp/net/ange-ftp.el (ange-ftp-delete-directory):
* lisp/net/tramp-sh.el (tramp-sh-handle-delete-directory):
Add TRASH arg.  Implement it.  (Bug#26763)
(tramp-get-remote-trash): Check for `delete-by-moving-to-trash'.

* lisp/net/tramp-adb.el (tramp-adb-handle-delete-directory):
* lisp/net/tramp-smb.el (tramp-smb-handle-delete-directory):
Add _TRASH arg.
lisp/files.el
lisp/net/ange-ftp.el
lisp/net/tramp-adb.el
lisp/net/tramp-sh.el
lisp/net/tramp-smb.el