From d0d8efb177456f87a594ab479d37c0087192b086 Mon Sep 17 00:00:00 2001 From: Jeetaditya Chatterjee Date: Sun, 10 Sep 2023 23:32:26 +0100 Subject: [PATCH] fix(syntax): s/connetion/connection Also rework docstring and s/too/to --- modules/lang/emacs-lisp/autoload.el | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/modules/lang/emacs-lisp/autoload.el b/modules/lang/emacs-lisp/autoload.el index d7e838ff7..91025667d 100644 --- a/modules/lang/emacs-lisp/autoload.el +++ b/modules/lang/emacs-lisp/autoload.el @@ -280,10 +280,10 @@ https://emacs.stackexchange.com/questions/10230/how-to-indent-keywords-aligned" (defvar-local +emacs-lisp-reduced-flymake-byte-compile--process nil) (defun +emacs-lisp-reduced-flymake-byte-compile (report-fn &rest _args) - "A Flymake backend for warnings from the elisp byte compiler + "A Flymake backend for byte compilation in non-package elisp files. This checker reduces the amount of false positives the byte compiler throws off -compared too `elisp-flymake-byte-compile'. The linter warnings that are enabled +compared to `elisp-flymake-byte-compile'. The linter warnings that are enabled are set by `+emacs-lisp-linter-warnings' This backend does not need to be added directly @@ -304,7 +304,7 @@ as `+emacs-lisp-non-package-mode' will enable it and disable the other checkers. (make-process :name "+emacs-reduced-flymake" :noquery t - :connetion-type 'pipe + :connection-type 'pipe :buffer out-buf :command `(,(expand-file-name invocation-name invocation-directory) "-Q" @@ -313,8 +313,7 @@ as `+emacs-lisp-non-package-mode' will enable it and disable the other checkers. ;; this is what silences the byte compiler "--eval" ,(prin1-to-string `(setq doom-modules ',doom-modules doom-disabled-packages ',doom-disabled-packages - byte-compile-warnings ',+emacs-lisp-linter-warnings) -) + byte-compile-warnings ',+emacs-lisp-linter-warnings)) "-f" "elisp-flymake--batch-compile-for-flymake" ,tmp-file) :stderr "*stderr of +elisp-flymake-byte-compile-out*"