mu4e-view: explicitly scroll after rendering

This seems necessary in some cases; for some reason _this week_ that came
up a few time, although the code is old. Could repro with a bare emacs.

Fixes #2683.
This commit is contained in:
Dirk-Jan C. Binnema 2024-04-05 20:04:24 +03:00
parent f813498f4d
commit 9557ba43a0
1 changed files with 3 additions and 1 deletions

View File

@ -657,7 +657,9 @@ As a side-effect, a message that is being viewed loses its
(select-window mu4e~headers-view-win)))
(with-current-buffer gnus-article-buffer
(let ((inhibit-read-only t))
(run-hooks 'mu4e-view-rendered-hook))))
(run-hooks 'mu4e-view-rendered-hook))
;; only needed on some setups; #2683
(goto-char (point-min))))
(defun mu4e-view-message-text (msg)
"Return the rendered MSG as a string."