]> git.eshelyaron.com Git - emacs.git/commit
Fix various problems in Tramp
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 19 Jun 2020 13:12:31 +0000 (15:12 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 19 Jun 2020 13:12:31 +0000 (15:12 +0200)
commit3e7499c8389b8e8900320914fe496ae2780a453e
tree7ac6ce3a5255e703a8f6b10b216df873d5953125
parent1e3b0f2d95a6b822e06586564bcb5204a1f78b15
Fix various problems in Tramp

* lisp/net/tramp-compat.el (tramp-temp-name-prefix): Declare.
(tramp-compat-make-temp-name):
* lisp/net/tramp.el (tramp-make-tramp-temp-name): New defuns.

* lisp/net/tramp.el (tramp-make-tramp-temp-file):
* lisp/net/tramp-sh.el (tramp-find-inline-encoding)
(tramp-maybe-open-connection, tramp-get-remote-touch)
(tramp-get-remote-chmod-h):
* lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory): Use them.

* lisp/net/tramp-sh.el (tramp-do-file-attributes-with-stat):
Simplify shell command.  Suppress errors (interpret as nil).
(tramp-sh-handle-make-process): Do not visit with
`insert-file-contents'.  Delete tmp file only if exists.
(tramp-send-command-and-read): Suppress `signal-hook-function'
when reading expression.
lisp/net/tramp-compat.el
lisp/net/tramp-sh.el
lisp/net/tramp-smb.el
lisp/net/tramp.el