emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 67befc1f5a5: Eglot: use shell-file-name in eglot--cmd (bug#6174


From: João Távora
Subject: emacs-29 67befc1f5a5: Eglot: use shell-file-name in eglot--cmd (bug#61748)
Date: Thu, 2 Mar 2023 08:40:48 -0500 (EST)

branch: emacs-29
commit 67befc1f5a5492fee5fb3891083df77831ec830e
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    Eglot: use shell-file-name in eglot--cmd (bug#61748)
    
    * lisp/progmodes/eglot.el (eglot--cmd): Use shell-file-name.
---
 lisp/progmodes/eglot.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 36aafac8938..b17370ebf8b 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -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))
                          " "))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]