branch: externals/aggressive-indent
commit b59d928060d7aeac55d181711fa7725b695e8bbc
Author: 刘冲 <[email protected]>
Commit: Liu Chong <[email protected]>
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 b32b5870fd..3778bfdaf2 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