Disable persistent undo

It's not worth the possible stack overflow and undo history corruption
issues.
This commit is contained in:
Henrik Lissner 2019-05-21 03:42:32 -04:00
parent 0e2cbdf8f5
commit 66ddbf981e
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -310,7 +310,7 @@ savehist file."
;; Branching & persistent undo
:after-call (doom-switch-buffer-hook after-find-file)
:config
(setq undo-tree-auto-save-history t
(setq undo-tree-auto-save-history nil ; disable because unstable
;; 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!