]> code.delx.au - gnu-emacs-elpa/commitdiff
Fix last-command -> this-command bug
authorArtur Malabarba <bruce.connor.am@gmail.com>
Thu, 23 Oct 2014 21:26:30 +0000 (22:26 +0100)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Thu, 23 Oct 2014 21:26:30 +0000 (22:26 +0100)
aggressive-indent.el

index 3cd2a2e6e18c814dbc5d7feaea503ef75c691877..4b5d3598c3d405180b3b4daa683adcfeda2c8801 100644 (file)
@@ -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)))