mu4e: ensure header line is set in headers buffer
When a different buffer had focus when the found handler was run, the header line might be set on the wrong one. As seen in #2897.
This commit is contained in:
@ -887,9 +887,9 @@ COUNT is the number of messages found."
|
||||
(mu4e~headers-highlight (mu4e~headers-docid-at-point)))
|
||||
;; maybe enable thread folding
|
||||
(when mu4e-search-threads
|
||||
(mu4e-thread-mode)))
|
||||
;; might need updating
|
||||
(setq header-line-format (mu4e~header-line-format)))
|
||||
(mu4e-thread-mode))
|
||||
;; might need updating
|
||||
(setq header-line-format (mu4e~header-line-format))))
|
||||
;; run-hooks
|
||||
(run-hooks 'mu4e-headers-found-hook))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user