only show unread messages in notmuch-show threads (fold read msgs)

This commit is contained in:
Max Nickel 2019-10-23 22:58:51 -04:00
parent 07d219a300
commit 5324cb2fc8
2 changed files with 22 additions and 0 deletions

View file

@ -42,6 +42,9 @@
;; (setq-hook! 'notmuch-show-mode-hook line-spacing 0)
;; only unfold unread messages in thread by default
(add-hook 'notmuch-show-hook '+notmuch-expand-only-unread-h)
(add-hook 'doom-real-buffer-functions #'notmuch-interesting-buffer)
(advice-add #'notmuch-start-notmuch-sentinel :around #'+notmuch-dont-confirm-on-kill-process-a)