Save undo-tree history to disk

But use the standard ebackup directory for this.
This commit is contained in:
Daniel - 2022-04-30 15:12:39 +02:00
parent 1b3acb5c20
commit 380c102dcc
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
2 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View File

@ -60,4 +60,4 @@
/projects
/.lsp-session-v1
/.cache/
.*.~undo-tree~

View File

@ -695,7 +695,9 @@
undo
undo-tree-redo)
:init (setq undo-tree-visualizer-timestamps t
undo-tree-visualizer-diff t)
undo-tree-visualizer-diff t
undo-tree-auto-save-history t
undo-tree-history-directory-alist `(("." . ,(expand-file-name "ebackup/" emacs-d))))
:diminish undo-tree-mode)
(use-package wgrep