From 83bdea4b19b3a2d2f4acb4e83c7aefb2fc080621 Mon Sep 17 00:00:00 2001 From: Ivan Yonchovski Date: Wed, 28 Aug 2019 21:06:37 +0300 Subject: [PATCH] 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)