mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Disable persistent undo
It's not worth the possible stack overflow and undo history corruption issues.
This commit is contained in:
@ -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!
|
||||||
|
Reference in New Issue
Block a user