Use ControlMaster where applicable. (Bug#13677)
commitd7291032804bbb2f577ef1425dac37e8510181a3
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 13 Feb 2013 16:23:15 +0000 (13 17:23 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 13 Feb 2013 16:23:15 +0000 (13 17:23 +0100)
treed10b450abf26f0a23a43aef421e9bd26a46d300d
parent1ead7dbd665015ab579ecb17932281862376f1d4
Use ControlMaster where applicable.  (Bug#13677)

* net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
replacing `tramp-detect-ssh-controlmaster'.
(tramp-default-method): Use it.

* net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
[rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
arguments.
[scpc, rsyncc]: Remove methods.
(top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
and "ssh2_old".
(tramp-do-copy-or-rename-file-out-of-band):  Change trace level.
(tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
lisp/ChangeLog
lisp/net/tramp-sh.el
lisp/net/tramp.el