From 902158fc2379a1c08551673c62c60e95afce81dc Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Wed, 4 Jan 2023 09:36:59 -0800 Subject: emacs: writeroom in notmuch-show --- .emacs.local.d/modes/notmuch.el | 3 +++ 1 file changed, 3 insertions(+) (limited to '.emacs.local.d/modes/notmuch.el') diff --git a/.emacs.local.d/modes/notmuch.el b/.emacs.local.d/modes/notmuch.el index b22ede3..43e5689 100644 --- a/.emacs.local.d/modes/notmuch.el +++ b/.emacs.local.d/modes/notmuch.el @@ -102,3 +102,6 @@ than one email. Use notmuch-show otherwise." (overlay-put overlay 'face '((:inherit bold) (:foreground "green"))))))))))) (add-hook 'notmuch-hello-refresh-hook 'color-inbox-if-unread) +(add-hook 'notmuch-show-hook + (lambda () + (writeroom-mode))) -- cgit v1.2.3