* lisp/progmodes/eglot.el (eglot--connect): Improve Tramp workaround.

This commit is contained in:
Michael Albinus 2023-03-18 13:13:56 +01:00
parent 0eddfa28eb
commit 94a21c8864

View file

@ -1258,7 +1258,12 @@ This docstring appeases checkdoc, that's all."
;; very much data so we turn it off
;; unconditionally -- just for our
;; process.
(tramp-use-ssh-controlmaster-options t)
;; In Tramp 2.6.0.3 and newer, the value
;; `suppress' is sufficient. Older
;; Tramp versions need a non-nil value,
;; and a proper setting of
;; `tramp-ssh-controlmaster-options'.
(tramp-use-ssh-controlmaster-options 'suppress)
(tramp-ssh-controlmaster-options
"-o ControlMaster=no -o ControlPath=none"))
(make-process