emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 306a6f8: * lisp/gnus/gnus-art.el (gnus-article-prep


From: Katsumi Yamaoka
Subject: [Emacs-diffs] master 306a6f8: * lisp/gnus/gnus-art.el (gnus-article-prepare): Make sure the article
Date: Thu, 12 Apr 2018 19:19:39 -0400 (EDT)

branch: master
commit 306a6f8d435e8283691898552391687aeff4110d
Author: Katsumi Yamaoka <address@hidden>
Commit: Katsumi Yamaoka <address@hidden>

    * 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 74915a8..f8a29ea 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))))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]