From b197e092f9afb58a12210eb17f10411437335deb Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sat, 8 Jan 2022 18:18:16 +0100 Subject: [PATCH] ; Fix typos --- NEWS.md | 4 ++-- README.md | 2 +- eglot.el | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/NEWS.md b/NEWS.md index 4507278b..748011e0 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,6 @@ # (upcoming) -##### Multiple servers supported out-of-box for same major mdoe ([#688][github#688]) +##### Multiple servers supported out-of-box for same major mode ([#688][github#688]) In practice, this removes the need for Eglot to "officially" bless one server over another. Thanks to Felicián Németh for the original idea. @@ -15,7 +15,7 @@ Thanks to Brian Cully for the minimalist approach. ##### `eglot-ignored-server-capabilities` now correctly spelled ([#724][github#724]) This user-visible variable used to be spelled -`eglot-ignored-server-capabilites`, which is still an valid but +`eglot-ignored-server-capabilites`, which is still a valid but obsolete name. ##### Manage cross-referenced files outside project ([#76][github#76], ([#686][github#686], ([#695][github#695]) diff --git a/README.md b/README.md index d0f9221c..56987800 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ You can also do: (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. ## Connecting via TCP diff --git a/eglot.el b/eglot.el index 2e9531cf..abcd0781 100644 --- a/eglot.el +++ b/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