Eglot: use shell-file-name in eglot--cmd (bug#61748)
* lisp/progmodes/eglot.el (eglot--cmd): Use shell-file-name.
This commit is contained in:
@@ -1206,7 +1206,7 @@ Each function is passed the server as an argument")
|
||||
;;
|
||||
;; Not only does this seem like there should be a better way,
|
||||
;; but it almost certainly doesn’t work on non-unix systems.
|
||||
(list "sh" "-c"
|
||||
(list shell-file-name "-c"
|
||||
(string-join (cons "stty raw > /dev/null;"
|
||||
(mapcar #'shell-quote-argument contact))
|
||||
" "))
|
||||
|
||||
Reference in New Issue
Block a user