From 5e0196978b0de5f46d82756b3d08e52c07a0e562 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Tue, 24 Aug 1999 13:28:56 +0000 Subject: [PATCH] (gnus-summary-isearch-article): Set `isearch-lazy-highlight' t in the buffer locally; goto the beginning of the buffer before searching. --- lisp/gnus-sum.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el index 3b91756..e5dceeb 100644 --- a/lisp/gnus-sum.el +++ b/lisp/gnus-sum.el @@ -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) -- 1.7.10.4