diff --git a/lisp/tramp.el b/lisp/tramp.el index f024ebec..814d33e6 100644 --- a/lisp/tramp.el +++ b/lisp/tramp.el @@ -4847,6 +4847,8 @@ a connection-local variable." (when (process-command proc) (tramp-message vec 6 "%s" (string-join (process-command proc) " ")))) +(defvar tramp-direct-async-process nil) + (defun tramp-direct-async-process-p (&rest args) "Whether direct async `make-process' can be called." (let ((v (tramp-dissect-file-name default-directory)) @@ -4855,7 +4857,7 @@ a connection-local variable." (and ;; The method supports it. (tramp-get-method-parameter v 'tramp-direct-async) ;; It has been indicated. - (tramp-get-connection-property v "direct-async-process") + (connection-local-value tramp-direct-async-process) ;; There's no multi-hop. (or (not (tramp-multi-hop-p v)) (null (cdr (tramp-compute-multi-hops v))))