aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatsumi Yamaoka2015-09-01 06:15:35 +0000
committerKatsumi Yamaoka2015-09-01 06:15:35 +0000
commitb62c0e7bee1dcf74c97e7979fe87b81598d4a4b2 (patch)
tree1215eb4ee4aa1aac0b453846204c103adbe2ddd5
parent4a703c73305211c780307e3654969ac1a20fb229 (diff)
downloademacs-b62c0e7bee1dcf74c97e7979fe87b81598d4a4b2.tar.gz
emacs-b62c0e7bee1dcf74c97e7979fe87b81598d4a4b2.zip
* 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.
-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.
9489 ;; Return whether we found the regexp. 9489 ;; Return whether we found the regexp.
9490 (when (eq found 'found) 9490 (when (eq found 'found)
9491 (goto-char point) 9491 (goto-char point)
9492 (sit-for 0) ;; Ensure that the point is visible in the summary window.
9492 (gnus-summary-show-thread) 9493 (gnus-summary-show-thread)
9493 (gnus-summary-goto-subject gnus-current-article) 9494 (gnus-summary-goto-subject gnus-current-article)
9494 (gnus-summary-position-point) 9495 (gnus-summary-position-point)