projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c7b267
)
Eglot: use shell-file-name in eglot--cmd (bug#61748)
author
João Távora
<joaotavora@gmail.com>
Thu, 2 Mar 2023 13:27:14 +0000
(13:27 +0000)
committer
João Távora
<joaotavora@gmail.com>
Thu, 2 Mar 2023 13:42:15 +0000
(13:42 +0000)
* lisp/progmodes/eglot.el (eglot--cmd): Use shell-file-name.
lisp/progmodes/eglot.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index 36aafac89385264a0706d13840690f60c8b1eeb7..b17370ebf8beebb384ed53e5dcd48ceded836851 100644
(file)
--- 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))
" "))