From 263400c4c19e44a4fa971f1478c4ff2628d61788 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Mon, 24 May 2021 19:11:12 +0100 Subject: [PATCH] fix(editor): disable undo-tree in terminal buffers --- modules/editor/siren-undo-tree.el | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/editor/siren-undo-tree.el b/modules/editor/siren-undo-tree.el index dc6618f..1842122 100644 --- a/modules/editor/siren-undo-tree.el +++ b/modules/editor/siren-undo-tree.el @@ -26,6 +26,7 @@ ;; than undo-tree's auto-save feature which randomly fails to restore history ;; for no obvious reason. (undo-tree-auto-save-history nil) + (undo-tree-incompatible-major-modes '(term-mode vterm-mode)) :config (global-undo-tree-mode)