From b59d928060d7aeac55d181711fa7725b695e8bbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=86=B2?= Date: Fri, 30 Oct 2020 19:41:28 +0800 Subject: [PATCH] Fix #101 - Protect command undo-tree-visualize --- aggressive-indent.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aggressive-indent.el b/aggressive-indent.el index b32b587..3778bfd 100644 --- a/aggressive-indent.el +++ b/aggressive-indent.el @@ -129,7 +129,7 @@ active. If the minor mode is turned on with the local command, :type '(repeat symbol) :package-version '(aggressive-indent . "1.8.4")) -(defcustom aggressive-indent-protected-commands '(undo undo-tree-undo undo-tree-redo whitespace-cleanup) +(defcustom aggressive-indent-protected-commands '(undo undo-tree-undo undo-tree-redo undo-tree-visualize undo-tree-visualize-undo undo-tree-visualize-redo whitespace-cleanup) "Commands after which indentation will NOT be performed. Aggressive indentation could break things like `undo' by locking the user in a loop, so this variable is used to control which