emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/aggressive-indent 83bdea4 31/43: Allow other after-chan


From: Stefan Monnier
Subject: [elpa] externals/aggressive-indent 83bdea4 31/43: Allow other after-change-functions to run
Date: Wed, 7 Jul 2021 22:49:44 -0400 (EDT)

branch: externals/aggressive-indent
commit 83bdea4b19b3a2d2f4acb4e83c7aefb2fc080621
Author: Ivan Yonchovski <yyoncho@gmail.com>
Commit: Ivan Yonchovski <yyoncho@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

[Prev in Thread] Current Thread [Next in Thread]