branch: master commit f91202058ad23ef80fa5a94efc0a12aafc7d837f Author: Artur Malabarba <bruce.connor...@gmail.com> Commit: Artur Malabarba <bruce.connor...@gmail.com>
(sit-for 0) to avoid looking like we've hung Emacs --- aggressive-indent.el | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/aggressive-indent.el b/aggressive-indent.el index aec8ecc..e3cb71e 100644 --- a/aggressive-indent.el +++ b/aggressive-indent.el @@ -361,6 +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) (let ((inhibit-modification-hooks t) (inhibit-point-motion-hooks t) (indent-function