From 3967d22b9c8b00833ee9b051017b613a788d6217 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sat, 8 Jan 2022 18:18:16 +0100 Subject: [PATCH] ; fix typos --- lisp/progmodes/eglot.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 2e9531cffb4..abcd0781e16 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -50,7 +50,7 @@ ;; ;; (add-hook 'foo-mode-hook 'eglot-ensure) ;; -;; To attempt to start an eglot session automatically everytime a +;; To attempt to start an eglot session automatically every time a ;; foo-mode buffer is visited. ;; ;;; Code: @@ -1490,7 +1490,7 @@ against a variable's name. Examples include the string \"company\" or the symbol `xref'. Before Eglot starts \"managing\" a particular buffer, it -opinionatedly sets some peripheral Emacs facilites, such as +opinionatedly sets some peripheral Emacs facilities, such as Flymake, Xref and Company. These overriding settings help ensure consistent Eglot behaviour and only stay in place until \"managing\" stops (usually via `eglot-shutdown'), whereupon the @@ -1695,7 +1695,7 @@ Uses THING, FACE, DEFS and PREPEND." `("/" ,(eglot--mode-line-props "error" 'compilation-mode-line-fail '((mouse-3 eglot-clear-status "clear this status")) - (format "An error occured: %s\n" (plist-get last-error + (format "An error occurred: %s\n" (plist-get last-error :message))))) ,@(when (and doing (not done-p)) `("/" ,(eglot--mode-line-props doing -- 2.39.5