branch: externals/aggressive-indent commit dfdf3b23d147a3b4d5e8ed80ee9ea098f65ca48c Merge: a8c462f 86d5643 Author: Artur Malabarba <malaba...@users.noreply.github.com> Commit: GitHub <nore...@github.com>
Merge pull request #102 from raxod502/fix-protected-commands Fix `aggressive-indent-protected-commands' --- 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