From b2ec91db89739153b39d10c15701b57aae7e251c Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Wed, 24 May 2017 22:26:20 +0200 Subject: [PATCH] Fix Tramp for python.el * lisp/net/tramp.el (tramp-get-connection-process): Check, that VEC is a `tramp-file-name' structure. --- lisp/net/tramp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index c481ec66ce6..b97a7a877cd 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -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. -- 2.11.4.GIT