]> git.eshelyaron.com Git - emacs.git/commitdiff
; fix typos
authorStefan Kangas <stefankangas@gmail.com>
Sat, 8 Jan 2022 17:18:16 +0000 (18:18 +0100)
committerStefan Kangas <stefankangas@gmail.com>
Sat, 8 Jan 2022 17:19:43 +0000 (18:19 +0100)
lisp/progmodes/eglot.el

index 2e9531cffb44092200a9fa6f9595c435205d0458..abcd0781e16e36f8076f44485066ae51dac5fe5c 100644 (file)
@@ -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