mu4e-headers: Set the point in the correct frame after search

Fixes https://github.com/djcb/mu/issues/1977
This commit is contained in:
Christophe Troestler 2021-04-12 23:51:48 +02:00
parent b825b5631e
commit e00faf6cd3
1 changed files with 1 additions and 1 deletions

View File

@ -840,7 +840,7 @@ after the end of the search results."
(mu4e-headers-goto-message-id mu4e~headers-msgid-target)
(let* ((pos (mu4e-headers-goto-message-id mu4e~headers-msgid-target)))
(when pos
(set-window-point (get-buffer-window) pos)))))
(set-window-point (get-buffer-window nil t) pos)))))
(when (and mu4e~headers-view-target (mu4e-message-at-point 'noerror))
;; view the message at point when there is one.
(mu4e-headers-view-message))