summaryrefslogtreecommitdiff
path: root/lisp/gnus
diff options
context:
space:
mode:
authorKatsumi Yamaoka <yamaoka@jpl.org>2015-09-01 06:15:35 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2015-09-01 06:15:35 +0000
commitb62c0e7bee1dcf74c97e7979fe87b81598d4a4b2 (patch)
tree1215eb4ee4aa1aac0b453846204c103adbe2ddd5 /lisp/gnus
parent4a703c73305211c780307e3654969ac1a20fb229 (diff)
downloademacs-b62c0e7bee1dcf74c97e7979fe87b81598d4a4b2.tar.gz
* lisp/gnus/gnus-sum.el (gnus-summary-search-article):
Ensure that the article where the search word is found is displayed and pointed to in the summary buffer.
Diffstat (limited to 'lisp/gnus')
-rw-r--r--lisp/gnus/gnus-sum.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index e4c144b9237..447bd5d56f2 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -9489,6 +9489,7 @@ Optional argument BACKWARD means do search for backward.
;; Return whether we found the regexp.
(when (eq found 'found)
(goto-char point)
+ (sit-for 0) ;; Ensure that the point is visible in the summary window.
(gnus-summary-show-thread)
(gnus-summary-goto-subject gnus-current-article)
(gnus-summary-position-point)