branch: master commit f2c0fe96abf6027ebff2eac7040e2029b41f7bc9 Author: Artur Malabarba <bruce.connor...@gmail.com> Commit: Artur Malabarba <bruce.connor...@gmail.com>
Don't indent if undo-in-progress --- aggressive-indent.el | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/aggressive-indent.el b/aggressive-indent.el index dfa431a..882f4da 100644 --- a/aggressive-indent.el +++ b/aggressive-indent.el @@ -171,6 +171,7 @@ commands will NOT be followed by a re-indent." '((memq this-command aggressive-indent-protected-commands) (region-active-p) buffer-read-only + undo-in-progress (null (buffer-modified-p)) (and (boundp 'smerge-mode) smerge-mode) (let ((line (thing-at-point 'line)))