From: yamaoka Date: Tue, 24 Aug 1999 13:28:56 +0000 (+0000) Subject: (gnus-summary-isearch-article): Set `isearch-lazy-highlight' t in the buffer X-Git-Tag: t-gnus-6_13_0-11~7 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e0196978b0de5f46d82756b3d08e52c07a0e562;p=elisp%2Fgnus.git- (gnus-summary-isearch-article): Set `isearch-lazy-highlight' t in the buffer locally; goto the beginning of the buffer before searching. --- 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)