branch: master
commit 1c74518dab94479146de637e90e8470439697604
Author: Artur Malabarba <bruce.connor...@gmail.com>
Commit: Artur Malabarba <bruce.connor...@gmail.com>

    Fix last-command -> this-command bug
---
 aggressive-indent.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/aggressive-indent.el b/aggressive-indent.el
index 3cd2a2e..4b5d359 100644
--- a/aggressive-indent.el
+++ b/aggressive-indent.el
@@ -123,7 +123,7 @@ commands will NOT be followed by a re-indent."
   :package-version '(aggressive-indent . "0.1"))
 
 (defvar -internal-dont-indent-if
-  '((memq last-command aggressive-indent-protected-commands)
+  '((memq this-command aggressive-indent-protected-commands)
     (region-active-p)
     buffer-read-only
     (null (buffer-modified-p)))

Reply via email to