mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
Run notmuch-show-hook' after setting
header-line-format'
This patch makes it possible for notmuch-show hooks to change the header line. Signed-off-by: Damien Cassou <damien.cassou@gmail.com>
This commit is contained in:
parent
8a22e28750
commit
f164784d56
1 changed files with 3 additions and 3 deletions
|
@ -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)))))
|
||||
(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.
|
||||
|
|
Loading…
Reference in a new issue