From 423acecb38166cc301a3be909fd34b55aa57b095 Mon Sep 17 00:00:00 2001 From: Laurens Miers Date: Thu, 24 Jul 2025 10:24:01 +0200 Subject: [PATCH] replace whitespace-cleanup with delete-trailing-whitespace whitespace-cleanup seems to do some formatting, tabs-to-whitespace and vice versa,... which are kinda annoying. We should be fine for now with just removing trailing whitespaces. --- config.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.org b/config.org index dc42e02..c421d39 100644 --- a/config.org +++ b/config.org @@ -77,7 +77,7 @@ The audible bell is annoying AF. #+BEGIN_SRC emacs-lisp (use-package whitespace :ensure nil - :hook (before-save-hook . whitespace-cleanup) + :hook (before-save-hook . delete-trailing-whitespace) ;; if we wanna remove this hook at any time, eval: ;; (remove-hook 'before-save-hook #'whitespace-cleanup) )