From 4c89262a6b51d391f6e57f510d30845b06aca42b Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 3 Feb 2024 17:05:52 -0500 Subject: [PATCH] nit(emacs-lisp): reformat/revise comments --- modules/lang/emacs-lisp/config.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/lang/emacs-lisp/config.el b/modules/lang/emacs-lisp/config.el index 4d8ff38f5..a07ae55e3 100644 --- a/modules/lang/emacs-lisp/config.el +++ b/modules/lang/emacs-lisp/config.el @@ -76,10 +76,10 @@ See `+emacs-lisp-non-package-mode' for details.") face warning mouse-face mode-line-highlight))))) - ;; Fixed indenter that intends plists sensibly. + ;; Introduces logic to improve plist indentation in emacs-lisp-mode. (advice-add #'calculate-lisp-indent :override #'+emacs-lisp--calculate-lisp-indent-a) - ;; variable-width indentation is superior in elisp. Otherwise, `dtrt-indent' + ;; Variable-width indentation is superior in elisp. Otherwise, `dtrt-indent' ;; and `editorconfig' would force fixed indentation on elisp. (add-to-list 'doom-detect-indentation-excluded-modes 'emacs-lisp-mode) @@ -96,10 +96,10 @@ See `+emacs-lisp-non-package-mode' for details.") #'+emacs-lisp-init-straight-maybe-h) ;; UX: Both Flycheck's and Flymake's two emacs-lisp checkers produce a *lot* - ;; of false positives in non-packages (like Emacs configs or elisp - ;; scripts), so I disable `checkdoc' (`emacs-lisp-checkdoc', - ;; `elisp-flymake-checkdoc') and set `byte-compile-warnings' to a subset - ;; that makes more sense (see `+emacs-lisp-linter-warnings') + ;; of false positives in non-packages (like Emacs configs or elisp scripts), + ;; so I disable `checkdoc' (`emacs-lisp-checkdoc', `elisp-flymake-checkdoc') + ;; and set `byte-compile-warnings' to a subset that makes more sense (see + ;; `+emacs-lisp-linter-warnings') (add-hook! '(flycheck-mode-hook flymake-mode-hook) #'+emacs-lisp-non-package-mode) (defadvice! +syntax--fix-elisp-flymake-load-path (orig-fn &rest args)