diff options
author | David Edmondson <dme@dme.org> | 2010-11-08 14:18:25 +0000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-11-11 17:06:04 -0800 |
commit | c471c4eb0488ee689ab96814e3879930bec32bc6 (patch) | |
tree | 25582ba0aca7b77e07f1dfe9cdc10dbdf667c2f6 /emacs | |
parent | e845f4e27e67208c95def4ee2601568b8d81a12e (diff) |
emacs: Use the header line to show the subject of the thread.
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/notmuch-show.el | 4 |
1 files changed, 4 insertions, 0 deletions
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 |