aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2018-04-13 21:18:51 +0200
committerLars Ingebrigtsen2018-04-13 21:18:51 +0200
commite9f1260773335f0828de5815cdad0662a4e50e04 (patch)
treeafb34600bdf81a09a81166de8984b153bb679624
parentcad2b8d109d4fd2b78d4e064af729336f348a2bb (diff)
downloademacs-e9f1260773335f0828de5815cdad0662a4e50e04.tar.gz
emacs-e9f1260773335f0828de5815cdad0662a4e50e04.zip
Tweak point placement in gnus-summary-select-article-buffer
* lisp/gnus/gnus-sum.el (gnus-summary-select-article-buffer): Tweak where point is placed because when the user selects the article buffer, it's probably to cite something or click on something, and not do anything with the headers.
-rw-r--r--lisp/gnus/gnus-sum.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index e1789cdd599..b1e9d60e3b2 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -7067,7 +7067,11 @@ buffer."
7067 'only-article 7067 'only-article
7068 'article) 7068 'article)
7069 t) 7069 t)
7070 (select-window (get-buffer-window gnus-article-buffer)))) 7070 (select-window (get-buffer-window gnus-article-buffer))
7071 ;; If we've just selected the message, place point at the start of
7072 ;; the body because that's probably where we want to be.
7073 (when (bobp)
7074 (article-goto-body))))
7071 7075
7072(defun gnus-summary-universal-argument (arg) 7076(defun gnus-summary-universal-argument (arg)
7073 "Perform any operation on all articles that are process/prefixed." 7077 "Perform any operation on all articles that are process/prefixed."