Fix Tramp for python.el

* lisp/net/tramp.el (tramp-get-connection-process): Check,
that VEC is a `tramp-file-name' structure.
This commit is contained in:
Michael Albinus 2017-05-24 22:26:20 +02:00
parent ad8b60ee74
commit b2ec91db89

View file

@ -1394,7 +1394,7 @@ from the default one."
"Get the connection process to be used for VEC.
In case a second asynchronous communication has been started, it is different
from the default one."
(get-process (tramp-get-connection-name vec)))
(and (tramp-file-name-p vec) (get-process (tramp-get-connection-name vec))))
(defun tramp-set-connection-local-variables (vec)
"Set connection-local variables in the connection buffer used for VEC.