From a2eee97c9d7329afa40ed3563de123c0cbdd1f37 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 4 Jan 2020 16:26:28 -0500 Subject: [PATCH] undo-tree-{visualizer,auto-save-history} = t --- core/core-editor.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/core-editor.el b/core/core-editor.el index 5f0caf319..427957f55 100644 --- a/core/core-editor.el +++ b/core/core-editor.el @@ -525,7 +525,8 @@ files, so we replace calls to `pp' with the much faster `prin1'." ;; Branching & persistent undo :after-call doom-switch-buffer-hook after-find-file :config - (setq undo-tree-auto-save-history t + (setq undo-tree-visualizer-diff t + undo-tree-auto-save-history t ;; Increase undo-limits by a factor of ten to avoid emacs prematurely ;; truncating the undo history and corrupting the tree. See ;; https://github.com/syl20bnr/spacemacs/issues/12110