From dda50a70cc2e0757c5f4ed20faae059209d3eee4 Mon Sep 17 00:00:00 2001 From: xerus2000 <27jf@pm.me> Date: Sat, 14 Nov 2020 02:09:26 +0100 Subject: [PATCH] config/doom: fix whitespace-mode and backups --- .config/doom/config.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.config/doom/config.el b/.config/doom/config.el index 8323cdf..7a69cac 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -57,14 +57,14 @@ (desktop-save-mode 1) -(global-whitespace-mode -1) -(whitespace-mode -1) +;(global-whitespace-mode -1) +;(whitespace-mode -1) ;; Backups & auto-saves (setq auto-save-default t) (setq auto-save-interval 40) -(setq backup-directory-alist `(("" . (expand-file-name "backups" user-emacs-directory)))) +(setq backup-directory-alist (expand-file-name "backups" user-emacs-directory)) (setq delete-old-versions t kept-new-versions 6 kept-old-versions 2 @@ -114,7 +114,6 @@ (add-hook 'org-mode-hook 'org-toggle-blocks) (add-hook 'org-mode-hook 'org-toggle-inline-images) (add-hook 'org-mode-hook (apply-partially '+org/close-all-folds 2)) -(add-hook 'org-mode-hook (apply-partially 'whitespace-mode -1)) ;; https://christiantietze.de/posts/2019/06/org-fold-heading/ (defun ct/org-foldup ()