mu4e-headers.el: fix highlighting when headers window is not selected.
Highlighting target header is not working, when message view is selected and mu4e-headers window is out of focus. To fix this, call mu4e highlight function with mu4e-headers as current buffer.
This commit is contained in:
@ -717,9 +717,10 @@ after the end of the search results."
|
||||
;; view the message at point when there is one.
|
||||
(mu4e-headers-view-message))
|
||||
(setq mu4e~headers-view-target nil
|
||||
mu4e~headers-msgid-target nil))
|
||||
(when (mu4e~headers-docid-at-point)
|
||||
(mu4e~headers-highlight (mu4e~headers-docid-at-point)))
|
||||
mu4e~headers-msgid-target nil)
|
||||
(when (mu4e~headers-docid-at-point)
|
||||
(mu4e~headers-highlight (mu4e~headers-docid-at-point))))
|
||||
|
||||
;; run-hooks
|
||||
(run-hooks 'mu4e-headers-found-hook)))
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
Reference in New Issue
Block a user