From b038fc3e10022085e8afed555a60642290368ec4 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Fri, 20 Feb 2026 11:13:19 -0800 Subject: [PATCH] Clean elisp/org-mu4e-compose.el up --- elisp/org-mu4e-compose.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/elisp/org-mu4e-compose.el b/elisp/org-mu4e-compose.el index 336d3a2..29d9421 100644 --- a/elisp/org-mu4e-compose.el +++ b/elisp/org-mu4e-compose.el @@ -63,7 +63,8 @@ about this change." (let ((content (with-temp-buffer (insert-buffer-substring real-buf (car bounds) (cdr bounds)) - (let (sgml-mode-hook html-mode-hook text-mode-hook) + (let ((delay-mode-hooks t) + delayed-mode-hooks) (html-mode)) (sgml-pretty-print (point-min) (point-max)) (indent-region (point-min) (point-max))