From e7a9a77de9e3ffe001dd18187cde486a0ec2f686 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sat, 2 Jan 2021 22:51:19 -0600 Subject: Enable whitespace-mode --- config.org | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/config.org b/config.org index eed895a..c346ade 100644 --- a/config.org +++ b/config.org @@ -1006,6 +1006,18 @@ For right now, I’m /just/ using Anzu – I don’t like parts of =isearch= but repeatedly entering the prefix argument.") #+end_src +*** Whitespace + + #+begin_src emacs-lisp + (cuss whitespace-style + '(empty ;; remove blank lines at the beginning and end of buffers + indentation ;; clean up indentation + space-before-tab ;; fix mixed spaces and tabs + space-after-tab)) + + (add-hook 'before-save-hook #'whitespace-cleanup) + #+end_src + * Programming ** Parentheses -- cgit 1.4.1-21-gabe81