mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 19:08:09 +01:00
notmuch.el: Don't hide message bodies when all messages are read.
Presumably the user is trying to view this thread for a reason, so it's better to actually show *something* rather than just the summary lines.
This commit is contained in:
parent
2aa6c2d9a1
commit
a1f631ab6b
1 changed files with 5 additions and 2 deletions
|
@ -470,9 +470,12 @@ thread from that buffer can be show when done with this one)."
|
||||||
(progn
|
(progn
|
||||||
(notmuch-show-next-unread-message)
|
(notmuch-show-next-unread-message)
|
||||||
; But if there are no unread messages, go back to the
|
; But if there are no unread messages, go back to the
|
||||||
; beginning of the buffer.
|
; beginning of the buffer, and open up the bodies of all
|
||||||
|
; read message.
|
||||||
(if (not (notmuch-show-message-unread-p))
|
(if (not (notmuch-show-message-unread-p))
|
||||||
(goto-char (point-min)))))
|
(progn
|
||||||
|
(goto-char (point-min))
|
||||||
|
(notmuch-show-toggle-body-read-visible)))))
|
||||||
)))
|
)))
|
||||||
|
|
||||||
(defvar notmuch-search-mode-map
|
(defvar notmuch-search-mode-map
|
||||||
|
|
Loading…
Reference in a new issue