]> git.eshelyaron.com Git - emacs.git/commit
More error checks in Tramp's make-directory
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 6 Nov 2019 15:49:35 +0000 (16:49 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 6 Nov 2019 15:49:35 +0000 (16:49 +0100)
commitda2df1c1b5b5a7373f361875b43dd003a221e2e0
tree10be03ac989db4fc075422d9648b5f816b3bc898
parentd30f5e7eeecd5425e236542189a1d683c00e7ed7
More error checks in Tramp's make-directory

* lisp/net/tramp-adb.el (tramp-adb-handle-make-directory):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-make-directory):
* lisp/net/tramp-sh.el (tramp-sh-handle-make-directory):
* lisp/net/tramp-smb.el (tramp-smb-handle-make-directory):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-make-directory):
Signal `file-already-exists' if DIR exists.

* test/lisp/net/tramp-tests.el (tramp-test04-substitute-in-file-name):
Fix thinko.
(tramp-test13-make-directory, tramp-test14-delete-directory)
(tramp-test15-copy-directory): Extend tests.
lisp/net/tramp-adb.el
lisp/net/tramp-gvfs.el
lisp/net/tramp-sh.el
lisp/net/tramp-smb.el
lisp/net/tramp-sudoedit.el
lisp/net/tramp.el
test/lisp/net/tramp-tests.el