Emacs: Store undo history in the cache directory

This commit is contained in:
Riyyi
2022-03-16 11:46:14 +01:00
parent 1ae30d54b1
commit a36cbbe4eb
+4 -1
View File
@@ -11,7 +11,10 @@ Evil mode and related packages.
#+BEGIN_SRC emacs-lisp
(use-package undo-tree
:config (global-undo-tree-mode))
:config
(setq undo-tree-auto-save-history t)
(setq undo-tree-history-directory-alist `(("." . ,(concat dot-cache-dir "/undo-tree"))))
(global-undo-tree-mode))
(use-package goto-chg)