aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d/modes/notmuch.el
diff options
context:
space:
mode:
authorRaul Benencia <id@rbenencia.name>2023-01-04 09:36:59 -0800
committerRaul Benencia <id@rbenencia.name>2023-01-04 09:36:59 -0800
commit902158fc2379a1c08551673c62c60e95afce81dc (patch)
tree5789da18e27a06fb5b6146c2123e7c6203ff26ac /.emacs.local.d/modes/notmuch.el
parentcfb5aaca2cedc6b58ca99a32eef1f93bde560d89 (diff)
emacs: writeroom in notmuch-show
Diffstat (limited to '.emacs.local.d/modes/notmuch.el')
-rw-r--r--.emacs.local.d/modes/notmuch.el3
1 files changed, 3 insertions, 0 deletions
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)))
nihil fit ex nihilo