summaryrefslogtreecommitdiff
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorJoão Távora <joaotavora@gmail.com>2022-09-24 09:54:04 +0100
committerJoão Távora <joaotavora@gmail.com>2022-09-24 09:54:04 +0100
commitb2054790358ec89c3c3e0e79afda4adbce7f1dd6 (patch)
treebfd9789f795e6651bad671f5aa76461375d062b2 /lisp/progmodes
parent0829d5e7a2e7a958cb55df8cbc983bfcf7d4b500 (diff)
downloademacs-b2054790358ec89c3c3e0e79afda4adbce7f1dd6.tar.gz
emacs-b2054790358ec89c3c3e0e79afda4adbce7f1dd6.tar.bz2
emacs-b2054790358ec89c3c3e0e79afda4adbce7f1dd6.zip
Fix blunder in eglot--guess-contact
* eglot.el (eglot--guess-contact): Add back 'split-string-and-unquote' lost in https://github.com/joaotavora/eglot/issues/940 fix. GitHub-reference: per https://github.com/joaotavora/eglot/issues/940
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/eglot.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 718a42dbd75..650b4cccccb 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -957,10 +957,11 @@ be guessed."
program guess))))))
(contact
(or (and prompt
- (read-shell-command
- prompt
- full-program-invocation
- 'eglot-command-history))
+ (split-string-and-unquote
+ (read-shell-command
+ prompt
+ full-program-invocation
+ 'eglot-command-history)))
guess)))
(list managed-mode (eglot--current-project) class contact language-id)))