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 18, 2024
1 parent c25eeb2 commit 16c75af
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 @@ -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."
Expand Down

0 comments on commit 16c75af

Please sign in to comment.