]> git.eshelyaron.com Git - emacs.git/commitdiff
(gnus-summary-select-article-buffer): Further point placing tweak
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 17 Apr 2018 18:09:28 +0000 (20:09 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 17 Apr 2018 18:09:28 +0000 (20:09 +0200)
* lisp/gnus/gnus-sum.el (gnus-summary-select-article-buffer):
Further tweak for the previous point-placing tweak.

lisp/gnus/gnus-sum.el

index 596afd155251039d94ace5da53b772a454d8aba8..4c54ac59d670f2ddbbefadbafbad3c46f00e72fa 100644 (file)
@@ -7073,7 +7073,7 @@ buffer."
       (select-window (get-buffer-window gnus-article-buffer))
       ;; If we've just selected the message, place point at the start of
       ;; the body because that's probably where we want to be.
-      (if (not (bobp))
+      (if (not (= point (point-min)))
          (goto-char point)
        (article-goto-body)
        (forward-char -1)))))