]> code.delx.au - gnu-emacs/commitdiff
* lisp/gnus/gnus-sum.el (gnus-summary-search-article):
authorKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 1 Sep 2015 06:15:35 +0000 (06:15 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 1 Sep 2015 06:15:35 +0000 (06:15 +0000)
Ensure that the article where the search word is found is displayed
and pointed to in the summary buffer.

lisp/gnus/gnus-sum.el

index e4c144b92371caa2b710a68b0ce8afc2683845a4..447bd5d56f29da3db91d68a954bfe63a447a4bd7 100644 (file)
@@ -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)