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

    Use redisplay instead of sit-for
---
 aggressive-indent.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/aggressive-indent.el b/aggressive-indent.el
index e3cb71e..83b9f3c 100644
--- a/aggressive-indent.el
+++ b/aggressive-indent.el
@@ -361,7 +361,7 @@ or messages."
     (unless (or (run-hook-wrapped 'aggressive-indent--internal-dont-indent-if 
#'eval)
                 (aggressive-indent--run-user-hooks))
       (while-no-input
-        (sit-for 0)
+        (redisplay)
         (let ((inhibit-modification-hooks t)
               (inhibit-point-motion-hooks t)
               (indent-function

Reply via email to