From: brotzeit Date: Mon, 4 Jun 2018 10:50:01 +0000 (+0200) Subject: Fix typos X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~516 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b1b6be0c3ac20d9dd6910603849c755767869b69;p=emacs.git Fix typos Close https://github.com/joaotavora/eglot/issues/13. * eglot.el (eglot--all-major-modes) (eglot--notify, eglot--xref-reset-known-symbols): Fix typos. --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 6193b93e6dc..de8d990f3a0 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -270,7 +270,7 @@ CONTACT is in `eglot'. Returns a process object." proc)) (defun eglot--all-major-modes () - "Return all know major modes." + "Return all known major modes." (let ((retval)) (mapatoms (lambda (sym) (when (plist-member (symbol-plist sym) 'derived-mode-parent) @@ -737,7 +737,7 @@ DEFERRED is passed to `eglot--async-request', which see." (cadr res))) (cl-defun eglot--notify (server method params) - "Notify SERVER of something, don't expect a reply.e" + "Notify SERVER of something, don't expect a reply." (eglot--send server `(:jsonrpc "2.0" :method ,method :params ,params))) (cl-defun eglot--reply (server id &key result error) @@ -1272,7 +1272,7 @@ Calls REPORT-FN maybe if server publishes diagnostics in time." (defun eglot--xref-reset-known-symbols (&rest _dummy) "Reset `eglot--xref-reset-known-symbols'. -DUMMY is ignored" +DUMMY is ignored." (setq eglot--xref-known-symbols nil)) (advice-add 'xref-find-definitions :after #'eglot--xref-reset-known-symbols)