X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch-show.el;h=86130cec978d8069b9b900460976d3327d653a4f;hb=61a9448b58ca1320d97cfe580155cf23b5b9ad62;hp=1c1cf9c7de02f6e651ec6f0090f29dd209e6e72d;hpb=8a22e2875049b47ebf7058e93bd2d12747838519;p=notmuch diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 1c1cf9c7..86130cec 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -1077,10 +1077,10 @@ function is used." (jit-lock-register #'notmuch-show-buttonise-links) - (run-hooks 'notmuch-show-hook)) + ;; Set the header line to the subject of the first message. + (setq header-line-format (notmuch-show-strip-re (notmuch-show-get-subject))) - ;; Set the header line to the subject of the first message. - (setq header-line-format (notmuch-show-strip-re (notmuch-show-get-subject))))) + (run-hooks 'notmuch-show-hook)))) (defun notmuch-show-capture-state () "Capture the state of the current buffer.