From e89fbd36a558926a718d6090cbefe9e7d90366cd Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Mon, 10 Feb 2025 18:04:47 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20(org-mime)=20Enable=20automatic?= =?UTF-8?q?=20htmlize=20at=20work?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.org | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.org b/config.org index 7d19b26..9e2f3ff 100644 --- a/config.org +++ b/config.org @@ -2788,6 +2788,10 @@ The [[https://github.com/org-mime/org-mime][org-mime]] package thankfully allows (setq org-mime-export-options '(:section-numbers nil :with-author nil :with-toc nil)) + (defun my/org-mime-htmlize () + (when mmk2410/work + (org-mime-htmlize))) + :hook (message-send . my/org-mime-htmlize)) #+end_src Mu4e displays a message in the minibuffer after refreshing. And since I run mbsync and mu index (through emacsclient) automatically every few minutes these messages can get quite distracting. Luckily mu4e provides an option to disable these index messages.