undo-tree-auto-save-history = t
Persistent undo history is great. I'm hoping that, with undo-tree-enable-undo-in-region disabled, we can enable this feature again safely. Time will tell.
This commit is contained in:
parent
417736ecf6
commit
b12944fddb
1 changed files with 5 additions and 5 deletions
|
@ -212,13 +212,13 @@ savehist file."
|
|||
(def-package! undo-tree
|
||||
:after-call (doom-exit-buffer-hook after-find-file)
|
||||
:config
|
||||
;; persistent undo history and undo-in-region is known to cause undo history
|
||||
;; corruption, which can be very destructive! Disabling it deters the error,
|
||||
;; but does not fix it entirely!
|
||||
(setq undo-tree-auto-save-history nil
|
||||
(setq undo-tree-auto-save-history t
|
||||
;; undo-in-region is known to cause undo history corruption, which can
|
||||
;; be very destructive! Disabling it deters the error, but does not fix
|
||||
;; it entirely!
|
||||
undo-tree-enable-undo-in-region nil
|
||||
undo-tree-history-directory-alist
|
||||
(list (cons "." (concat doom-cache-dir "undo-tree-hist/"))))
|
||||
`(("." . ,(concat doom-cache-dir "undo-tree-hist/"))))
|
||||
(global-undo-tree-mode +1))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue