mu4e-view: unfold threads when working in headers-context

It's a bit hard otherwise to keep headers/article in sync.

Fixes #2498.
This commit is contained in:
Dirk-Jan C. Binnema 2023-11-22 21:27:39 +02:00
parent 087d06c5d3
commit fa0248a361
1 changed files with 1 additions and 0 deletions

View File

@ -147,6 +147,7 @@ Then, display the results."
(with-selected-window (or (get-buffer-window buffer)
(get-buffer-window))
(with-current-buffer buffer
(mu4e-thread-unfold-all)
(if (or (mu4e~headers-goto-docid docid)
;; TODO: Is this the best way to find another
;; relevant docid for a view buffer?