From 00cb6e052a6adce087e24871068737e10c8adc10 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Tue, 29 Nov 2022 20:28:16 +0100 Subject: [PATCH] ; Improve error message when LSP server not found * lisp/progmodes/eglot.el (eglot--guess-contact): Improve wording of error message when no LSP server was found. --- 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 e1041666754..e5c943ebf7a 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -1011,7 +1011,7 @@ be guessed." (and base-prompt (cond (current-prefix-arg base-prompt) ((null guess) - (format "[eglot] Sorry, couldn't guess for `%s'!\n%s" + (format "[eglot] Couldn't guess LSP server for `%s'\n%s" main-mode base-prompt)) ((and program (not (file-name-absolute-p program)) -- 2.39.2