From: Stefan Kangas Date: Sat, 8 Jan 2022 17:18:16 +0000 (+0100) Subject: ; fix typos X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~113 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3967d22b9c8b00833ee9b051017b613a788d6217;p=emacs.git ; fix typos --- 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