]> code.delx.au - gnu-emacs-elpa/commitdiff
Use redisplay instead of sit-for
authorArtur Malabarba <bruce.connor.am@gmail.com>
Sun, 25 Oct 2015 14:43:17 +0000 (14:43 +0000)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Sun, 25 Oct 2015 14:43:17 +0000 (14:43 +0000)
aggressive-indent.el

index e3cb71e382b9f9b0f3a4575d06ce57397b1adaef..83b9f3c870b3b87e032fe7c36fa25aa66af629c3 100644 (file)
@@ -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