branch: externals/aggressive-indent
commit 86d56436a4ed94ef68394c5da2f3cd0a85e4edbf
Author: Radon Rosborough <[email protected]>
Commit: Radon Rosborough <[email protected]>
Fix `aggressive-indent-protected-commands'
See #101 for discussion.
---
aggressive-indent.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/aggressive-indent.el b/aggressive-indent.el
index afded99..d03ba9b 100644
--- a/aggressive-indent.el
+++ b/aggressive-indent.el
@@ -188,7 +188,7 @@ change."
;;; Preventing indentation
(defconst aggressive-indent--internal-dont-indent-if
- '((memq this-command aggressive-indent-protected-commands)
+ '((memq last-command aggressive-indent-protected-commands)
(region-active-p)
buffer-read-only
undo-in-progress