Disable persistent undo
It's not worth the possible stack overflow and undo history corruption issues.
This commit is contained in:
parent
0e2cbdf8f5
commit
66ddbf981e
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ savehist file."
|
||||||
;; Branching & persistent undo
|
;; Branching & persistent undo
|
||||||
:after-call (doom-switch-buffer-hook after-find-file)
|
:after-call (doom-switch-buffer-hook after-find-file)
|
||||||
:config
|
: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
|
;; undo-in-region is known to cause undo history corruption, which can
|
||||||
;; be very destructive! Disabling it deters the error, but does not fix
|
;; be very destructive! Disabling it deters the error, but does not fix
|
||||||
;; it entirely!
|
;; it entirely!
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue