From c471c4eb0488ee689ab96814e3879930bec32bc6 Mon Sep 17 00:00:00 2001 From: David Edmondson Date: Mon, 8 Nov 2010 14:18:25 +0000 Subject: [PATCH] emacs: Use the header line to show the subject of the thread. --- emacs/notmuch-show.el | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.43.0