]> git.eshelyaron.com Git - emacs.git/commit
Quote file names properly in Tramp
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 12 Aug 2019 14:18:59 +0000 (16:18 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 12 Aug 2019 14:18:59 +0000 (16:18 +0200)
commit88006cf542ed99ca8236c9b61c6b19b732353d6c
treeb5fb0de0d700d7fa47476fab1be7f79644d9bbd4
parentf7b5e7d72d1648831fca3fc79cb134eab3407aa1
Quote file names properly in Tramp

* lisp/net/tramp.el (tramp-handle-file-truename)
(tramp-handle-insert-directory):
* lisp/net/tramp-adb.el (tramp-adb-handle-file-truename):
* lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
(tramp-sh-handle-insert-directory):
* lisp/net/tramp-smb.el (tramp-smb-handle-insert-directory):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-file-truename):
Use `tramp-compat-directory-name-p'.

* lisp/net/tramp.el (tramp-drop-volume-letter)
(tramp-handle-file-truename):
* lisp/net/tramp-adb.el (tramp-adb-handle-file-truename):
* lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link)
(tramp-sh-handle-file-truename):
* lisp/net/tramp-smb.el (tramp-smb-handle-make-symbolic-link):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-handle-file-truename):
(tramp-sudoedit-handle-make-symbolic-link): Quote properly.

* lisp/net/tramp-compat.el (tramp-compat-file-name-quote)
(tramp-compat-file-name-unquote): Add optional argument TOP.
lisp/net/tramp-adb.el
lisp/net/tramp-compat.el
lisp/net/tramp-sh.el
lisp/net/tramp-smb.el
lisp/net/tramp-sudoedit.el
lisp/net/tramp.el