diff options
author | Case Duckworth | 2021-01-02 22:51:19 -0600 |
---|---|---|
committer | Case Duckworth | 2021-01-02 22:51:19 -0600 |
commit | e7a9a77de9e3ffe001dd18187cde486a0ec2f686 (patch) | |
tree | c2a37807d50616861f9151562cfb668398ddbdb0 | |
parent | Add a timer to recentf-mode (diff) | |
download | emacs-e7a9a77de9e3ffe001dd18187cde486a0ec2f686.tar.gz emacs-e7a9a77de9e3ffe001dd18187cde486a0ec2f686.zip |
Enable whitespace-mode
-rw-r--r-- | config.org | 12 |
1 files changed, 12 insertions, 0 deletions
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 | |||
1006 | repeatedly entering the prefix argument.") | 1006 | repeatedly entering the prefix argument.") |
1007 | #+end_src | 1007 | #+end_src |
1008 | 1008 | ||
1009 | *** Whitespace | ||
1010 | |||
1011 | #+begin_src emacs-lisp | ||
1012 | (cuss whitespace-style | ||
1013 | '(empty ;; remove blank lines at the beginning and end of buffers | ||
1014 | indentation ;; clean up indentation | ||
1015 | space-before-tab ;; fix mixed spaces and tabs | ||
1016 | space-after-tab)) | ||
1017 | |||
1018 | (add-hook 'before-save-hook #'whitespace-cleanup) | ||
1019 | #+end_src | ||
1020 | |||
1009 | * Programming | 1021 | * Programming |
1010 | 1022 | ||
1011 | ** Parentheses | 1023 | ** Parentheses |