(gnus-summary-isearch-article): Set `isearch-lazy-highlight' t in the buffer
authoryamaoka <yamaoka>
Tue, 24 Aug 1999 13:28:56 +0000 (13:28 +0000)
committeryamaoka <yamaoka>
Tue, 24 Aug 1999 13:28:56 +0000 (13:28 +0000)
locally; goto the beginning of the buffer before searching.

lisp/gnus-sum.el

index 3b91756..e5dceeb 100644 (file)
@@ -6856,8 +6856,10 @@ If REGEXP-P (the prefix) is non-nil, do regexp isearch."
     (gnus-summary-select-article nil t))
   (gnus-configure-windows 'article)
   (gnus-eval-in-buffer-window gnus-article-buffer
+    (set (make-local-variable 'isearch-lazy-highlight) t)
     (save-restriction
       (widen)
+      (goto-char (point-min))
       (isearch-forward regexp-p))))
 
 (defun gnus-summary-search-article-forward (regexp &optional backward)