]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix blunder in eglot--guess-contact
authorJoão Távora <joaotavora@gmail.com>
Sat, 24 Sep 2022 08:54:04 +0000 (09:54 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sat, 24 Sep 2022 08:54:04 +0000 (09:54 +0100)
* 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

lisp/progmodes/eglot.el

index 718a42dbd7542a13eeabd15bab284658ad9a4ed5..650b4cccccb85d739c88358b4735f27821e8fd56 100644 (file)
@@ -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)))