mirror of https://github.com/djcb/mu.git
mu4e-headers: found-handler: set up threads-mode in headers buffer
Ensure we're in headers-mode when setting up thread-mode.
This commit is contained in:
parent
eafc81f168
commit
cd3c7b4c61
|
@ -870,10 +870,10 @@ after the end of the search results."
|
||||||
(setq mu4e--search-view-target nil
|
(setq mu4e--search-view-target nil
|
||||||
mu4e--search-msgid-target nil)
|
mu4e--search-msgid-target nil)
|
||||||
(when (mu4e~headers-docid-at-point)
|
(when (mu4e~headers-docid-at-point)
|
||||||
(mu4e~headers-highlight (mu4e~headers-docid-at-point)))))
|
(mu4e~headers-highlight (mu4e~headers-docid-at-point)))
|
||||||
;; maybe enable thread folding
|
;; maybe enable thread folding
|
||||||
(when mu4e-search-threads
|
(when mu4e-search-threads
|
||||||
(mu4e-thread-mode))
|
(mu4e-thread-mode))))
|
||||||
;; run-hooks
|
;; run-hooks
|
||||||
(run-hooks 'mu4e-headers-found-hook))
|
(run-hooks 'mu4e-headers-found-hook))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue