]> git.eshelyaron.com Git - emacs.git/commit
Make Tramp scripts more unique and robust
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 6 Dec 2020 13:24:13 +0000 (14:24 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 6 Dec 2020 13:24:13 +0000 (14:24 +0100)
commit2bd76cc107b415ccdebdfad3a2fad71e2adbaa51
tree4b0d12ac57936dcaec0ef8ab7c00241cf87ac988
parent75a91a0bb5236b049a5ea07488da5721ec5a3214
Make Tramp scripts more unique and robust

* lisp/net/tramp-sh.el (tramp-uudecode, tramp-perl-file-truename)
(tramp-perl-file-name-all-completions)
(tramp-perl-file-attributes)
(tramp-perl-directory-files-and-attributes)
(tramp-perl-encode-with-module, tramp-perl-decode-with-module)
(tramp-perl-encode, tramp-perl-decode, tramp-perl-pack)
(tramp-perl-unpack, tramp-hexdump-encode, tramp-awk-encode)
(tramp-hexdump-awk-encode, tramp-od-encode, tramp-od-awk-encode)
(tramp-awk-decode): Use format specifiers supported by
`tramp-expand-script'.  Adapt docstring.
(tramp-vc-registered-read-file-names): Adapt docstring.
(tramp-sh-handle-file-local-copy): Let-bind local `default-directory'.
(tramp-expand-script): New defun.
(tramp-maybe-send-script, tramp-find-inline-encoding): Use it.
(tramp-local-coding-commands): Simplify.
lisp/net/tramp-sh.el