[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master b2ec91d: Fix Tramp for python.el
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] master b2ec91d: Fix Tramp for python.el |
Date: |
Wed, 24 May 2017 16:26:27 -0400 (EDT) |
branch: master
commit b2ec91db89739153b39d10c15701b57aae7e251c
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>
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 c481ec6..b97a7a8 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master b2ec91d: Fix Tramp for python.el,
Michael Albinus <=