aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2017-05-24 22:26:20 +0200
committerMichael Albinus2017-05-24 22:26:20 +0200
commitb2ec91db89739153b39d10c15701b57aae7e251c (patch)
treeaaa78d1e7b75c9285d4a72a5915b6d7d3c93e06e
parentad8b60ee7423116574ebd2a0059012a303938fd3 (diff)
downloademacs-b2ec91db89739153b39d10c15701b57aae7e251c.tar.gz
emacs-b2ec91db89739153b39d10c15701b57aae7e251c.zip
Fix Tramp for python.el
* lisp/net/tramp.el (tramp-get-connection-process): Check, that VEC is a `tramp-file-name' structure.
-rw-r--r--lisp/net/tramp.el2
1 files changed, 1 insertions, 1 deletions
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."
1394 "Get the connection process to be used for VEC. 1394 "Get the connection process to be used for VEC.
1395In case a second asynchronous communication has been started, it is different 1395In case a second asynchronous communication has been started, it is different
1396from the default one." 1396from the default one."
1397 (get-process (tramp-get-connection-name vec))) 1397 (and (tramp-file-name-p vec) (get-process (tramp-get-connection-name vec))))
1398 1398
1399(defun tramp-set-connection-local-variables (vec) 1399(defun tramp-set-connection-local-variables (vec)
1400 "Set connection-local variables in the connection buffer used for VEC. 1400 "Set connection-local variables in the connection buffer used for VEC.