From: Michael Albinus Date: Wed, 24 May 2017 20:26:20 +0000 (+0200) Subject: Fix Tramp for python.el X-Git-Tag: emacs-26.0.90~521^2~277 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b2ec91db89739153b39d10c15701b57aae7e251c;p=emacs.git Fix Tramp for python.el * lisp/net/tramp.el (tramp-get-connection-process): Check, that VEC is a `tramp-file-name' structure. --- 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.