From 66ddbf981e56c4503a31e463b93f09b1b91c3be9 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 21 May 2019 03:42:32 -0400 Subject: [PATCH] Disable persistent undo It's not worth the possible stack overflow and undo history corruption issues. --- core/core-editor.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-editor.el b/core/core-editor.el index a56ee8b27..1a48f5569 100644 --- a/core/core-editor.el +++ b/core/core-editor.el @@ -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!