]> git.cworth.org Git - obsolete/notmuch-old/blobdiff - emacs/notmuch-show.el
emacs: Use the header line to show the subject of the thread.
[obsolete/notmuch-old] / emacs / notmuch-show.el
index 3a394d0f385a8468e64231b9b006595d7c43bcc5..0d3c4c2789d80043af36dac4dd598609ab898bde 100644 (file)
@@ -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