emacs: Use the header line to show the subject of the thread.

This commit is contained in:
David Edmondson 2010-11-08 14:18:25 +00:00 committed by Carl Worth
parent e845f4e27e
commit c471c4eb04

View file

@ -550,6 +550,10 @@ function is used. "
;; Move straight to the first open message ;; Move straight to the first open message
(if (not (notmuch-show-message-visible-p)) (if (not (notmuch-show-message-visible-p))
(notmuch-show-next-open-message)) (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))) (notmuch-show-mark-read)))
(defvar notmuch-show-stash-map (defvar notmuch-show-stash-map