From 423acecb38166cc301a3be909fd34b55aa57b095 Mon Sep 17 00:00:00 2001 From: Laurens Miers Date: Thu, 24 Jul 2025 10:24:01 +0200 Subject: [PATCH 1/2] 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) ) From 06208d5491a1e154721130c803f6aee83edd9bef Mon Sep 17 00:00:00 2001 From: Laurens Miers Date: Thu, 24 Jul 2025 10:24:54 +0200 Subject: [PATCH 2/2] feat: Display function name in header as well --- config.org | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.org b/config.org index c421d39..d40c03f 100644 --- a/config.org +++ b/config.org @@ -213,6 +213,8 @@ Show function we are currently in in the mode-line. (use-package which-func :ensure nil :defer t + :custom + (which-func-display mode-and-header) :hook (prog-mode-hook . which-function-mode) )