commit 8fb4b5b940b64294713d989e706f10656544f5cc
parent 764e929d481b8d2e6b707b92c22d78e8453440e7
Author: Vincent Demeester <vincent@sbr.pm>
Date: Mon, 13 Nov 2023 16:57:52 +0100
tools/emacs: fix undo-tree history files everywhere
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/emacs/config/config-editing.el b/tools/emacs/config/config-editing.el
@@ -36,7 +36,9 @@
:hook (after-init . global-undo-tree-mode)
:config
(setq-default undo-tree-visualizer-timestamps t
- undo-tree-enable-undo-in-region t))
+ undo-tree-enable-undo-in-region t
+ undo-tree-history-directory-alist `(("." . ,(no-littering-expand-var-file-name "backup/")))))
+
(use-package whitespace
:unless noninteractive
:commands (whitespace-mode vde/toggle-invisibles)