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 c25eeb2209
commit 16c75af1f2
1 changed files with 3 additions and 1 deletions

View File

@ -655,7 +655,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 pristine MSG as a string."