emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 0eb68fe 1/2: Further tweak point placement on gnus-


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 0eb68fe 1/2: Further tweak point placement on gnus-summary-select-article-buffer
Date: Fri, 13 Apr 2018 16:27:49 -0400 (EDT)

branch: master
commit 0eb68feed44a5c58931eb0cda19df95164958772
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Further tweak point placement on gnus-summary-select-article-buffer
    
    * lisp/gnus/gnus-sum.el (gnus-summary-select-article-buffer):
    Place point in the empty space between headers and body.
---
 lisp/gnus/gnus-sum.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index 0a7b233..aed5aaf 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -7071,7 +7071,8 @@ 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.
     (when (bobp)
-      (article-goto-body))))
+      (article-goto-body)
+      (forward-char -1))))
 
 (defun gnus-summary-universal-argument (arg)
   "Perform any operation on all articles that are process/prefixed."



reply via email to

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