]> git.eshelyaron.com Git - emacs.git/commit
Some Tramp fixes for directory-files-* and delete-*
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 3 Nov 2020 17:47:32 +0000 (18:47 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 3 Nov 2020 17:47:32 +0000 (18:47 +0100)
commit2fffc1dfdff0a37f826a67d90d8a97091207dcb2
tree2e914da389f96559132c38a54bca9cb690801c8d
parentf9d6e463d310db0e1931f26609d938531c56f9c3
Some Tramp fixes for directory-files-* and delete-*

* lisp/files.el (delete-directory): Simplify check for trash.

* lisp/net/ange-ftp.el (ange-ftp-delete-file): Implement TRASH.

* lisp/net/tramp-compat.el (tramp-compat-directory-files)
(tramp-compat-directory-files-and-attributes)
(tramp-compat-directory-empty-p): New defaliases.

* lisp/net/tramp.el (tramp-handle-directory-files-and-attributes)
(tramp-skeleton-delete-directory):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use them.

* lisp/net/tramp-sh.el (tramp-sh-handle-directory-files-and-attributes):
Implement COUNT.

* test/lisp/net/tramp-tests.el (tramp-test14-delete-directory):
Do not run trash test for ange-ftp.
(tramp-test16-directory-files)
(tramp-test19-directory-files-and-attributes): Check COUNT argument.
lisp/files.el
lisp/net/ange-ftp.el
lisp/net/tramp-compat.el
lisp/net/tramp-gvfs.el
lisp/net/tramp-sh.el
lisp/net/tramp.el
test/lisp/net/tramp-tests.el