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))