From 306a6f8d435e8283691898552391687aeff4110d Mon Sep 17 00:00:00 2001 From: Katsumi Yamaoka Date: Thu, 12 Apr 2018 23:19:17 +0000 Subject: [PATCH] * lisp/gnus/gnus-art.el (gnus-article-prepare): Make sure the article begins with the top of the header (bug#25526). --- lisp/gnus/gnus-art.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 74915a8cda9..f8a29ea2e51 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el @@ -4696,6 +4696,10 @@ If ALL-HEADERS is non-nil, no headers are hidden." (forward-line -1)) (set-window-point (get-buffer-window (current-buffer)) (point)) (gnus-configure-windows 'article) + ;; Make sure the article begins with the top of the header. + (save-selected-window + (select-window (get-buffer-window gnus-article-buffer)) + (goto-char (point-min))) (gnus-run-hooks 'gnus-article-prepare-hook) t)))))) -- 2.39.5