branch: externals/aggressive-indent
commit 83bdea4b19b3a2d2f4acb4e83c7aefb2fc080621
Author: Ivan Yonchovski <yyon...@gmail.com>
Commit: Ivan Yonchovski <yyon...@gmail.com>

    Allow other after-change-functions to run
    
    Fixes https://github.com/emacs-lsp/lsp-mode/issues/911
---
 aggressive-indent.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aggressive-indent.el b/aggressive-indent.el
index e4b29bb..c467db8 100644
--- a/aggressive-indent.el
+++ b/aggressive-indent.el
@@ -394,7 +394,7 @@ or messages."
   "Indent the regions in `aggressive-indent--changed-list'."
   (unless (or (run-hook-wrapped 'aggressive-indent--internal-dont-indent-if 
#'eval)
               (aggressive-indent--run-user-hooks))
-    (let ((inhibit-modification-hooks t)
+    (let ((after-change-functions (remove 
'aggressive-indent--keep-track-of-changes after-change-functions))
           (inhibit-point-motion-hooks t)
           (indent-function
            (if (cl-member-if #'derived-mode-p 
aggressive-indent-modes-to-prefer-defun)

Reply via email to