Skip to content

Commit

Permalink
mu4e-view: explicitly scroll after rendering
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
djcb committed Apr 5, 2024
1 parent f813498 commit 9557ba4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mu4e/mu4e-view.el
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 9557ba4

Please sign in to comment.