From e6e47744b59d7c723bfdb666662ddd4aca3636d8 Mon Sep 17 00:00:00 2001 From: contrapunctus Date: Fri, 15 Apr 2022 13:08:28 +0530 Subject: [PATCH] Store all undo-tree history files in ~/.emacs.d/undo-tree/ --- init.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.org b/init.org index 817c425..f5c20b7 100644 --- a/init.org +++ b/init.org @@ -1420,7 +1420,8 @@ as links into an Org or Markdown document." :if (not (featurep 'evil)) :diminish undo-tree-mode :init (global-undo-tree-mode) - :hook (wdired-mode . undo-tree-mode)) + :hook (wdired-mode . undo-tree-mode) + :config (setq undo-tree-history-directory-alist '(("." . "~/.emacs.d/undo-tree/")))) #+END_SRC ** ediff