]> code.delx.au - gnu-emacs-elpa/commitdiff
Don't indent if undo-in-progress
authorArtur Malabarba <bruce.connor.am@gmail.com>
Wed, 5 Aug 2015 21:42:50 +0000 (22:42 +0100)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Wed, 5 Aug 2015 21:46:43 +0000 (22:46 +0100)
aggressive-indent.el

index dfa431a93bbcc1e4188a8eebe4ee530a46de16b4..882f4da8cf1cb52cc3c119cfc36b9f71ea3419d6 100644 (file)
@@ -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)))