summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.org8
1 files changed, 6 insertions, 2 deletions
diff --git a/config.org b/config.org index 7ddc579..c945012 100644 --- a/config.org +++ b/config.org
@@ -5,7 +5,7 @@
5#+EXPORT_FILE_NAME: README.md 5#+EXPORT_FILE_NAME: README.md
6#+OPTIONS: toc:nil 6#+OPTIONS: toc:nil
7#+BANKRUPTCY_COUNT: 3.2 7#+BANKRUPTCY_COUNT: 3.2
8#+Time-stamp: <2021-01-07 19:41:59 acdw> 8#+Time-stamp: <2021-01-08 08:46:01 acdw>
9 9
10* Basics 10* Basics
11 11
@@ -1094,7 +1094,11 @@ For right now, I’m /just/ using Anzu – I don’t like parts of =isearch= but
1094 space-before-tab ;; fix mixed spaces and tabs 1094 space-before-tab ;; fix mixed spaces and tabs
1095 space-after-tab)) 1095 space-after-tab))
1096 1096
1097 (add-hook 'before-save-hook #'whitespace-cleanup) 1097 (defun acdw/whitespace-cleanup-maybe ()
1098 "Only cleanup whitespace when out-of-focus."
1099 (acdw/when-unfocused #'whitespace-cleanup))
1100
1101 (add-hook 'before-save-hook #'acdw/whitespace-cleanup-maybe)
1098 #+end_src 1102 #+end_src
1099 1103
1100* Programming 1104* Programming