diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 3a394d0f..0d3c4c27 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -550,6 +550,10 @@ function is used. " ;; Move straight to the first open message (if (not (notmuch-show-message-visible-p)) (notmuch-show-next-open-message)) + + ;; Set the header line to the subject of the first open message. + (setq header-line-format (notmuch-show-strip-re (notmuch-show-get-subject))) + (notmuch-show-mark-read))) (defvar notmuch-show-stash-map