summaryrefslogtreecommitdiff
path: root/lisp/net/tramp-adb.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2020-08-12 12:45:45 +0200
committerMichael Albinus <michael.albinus@gmx.de>2020-08-12 12:45:45 +0200
commit34c17cd8d61a841dcca4c307bc436b5d09b5a965 (patch)
treec3c32d5e375834eca16b78c80b9db829f6237eee /lisp/net/tramp-adb.el
parent79236fcbd01998862f565da07a70611bc8b802d2 (diff)
downloademacs-34c17cd8d61a841dcca4c307bc436b5d09b5a965.tar.gz
emacs-34c17cd8d61a841dcca4c307bc436b5d09b5a965.tar.bz2
emacs-34c17cd8d61a841dcca4c307bc436b5d09b5a965.zip
Implement Tramp direct async processes fallback for multi-hops
* doc/misc/tramp.texi (Remote processes): Precise restrictions for direct async processes. * lisp/net/tramp-adb.el (tramp-adb-handle-make-process): * lisp/net/tramp-sh.el (tramp-sh-handle-make-process): Use `tramp-direct-async-process-p'. * lisp/net/tramp.el (tramp-direct-async-process-p): New defun. (tramp-handle-make-process): Adapt handling of :stderr. Simplify.
Diffstat (limited to 'lisp/net/tramp-adb.el')
-rw-r--r--lisp/net/tramp-adb.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/net/tramp-adb.el b/lisp/net/tramp-adb.el
index 88f5c2928e3..49ecaa58ee8 100644
--- a/lisp/net/tramp-adb.el
+++ b/lisp/net/tramp-adb.el
@@ -890,8 +890,7 @@ PRESERVE-UID-GID and PRESERVE-EXTENDED-ATTRIBUTES are completely ignored."
"Like `make-process' for Tramp files.
If connection property \"direct-async-process\" is non-nil, an
alternative implementation will be used."
- (if (tramp-get-connection-property
- (tramp-dissect-file-name default-directory) "direct-async-process" nil)
+ (if (tramp-direct-async-process-p args)
(apply #'tramp-handle-make-process args)
(when args
(with-parsed-tramp-file-name (expand-file-name default-directory) nil