mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-29 08:31:35 -08:00
Revert part of recent commit 85544f8ef5 (bug#40808)
* lisp/isearch.el (isearch-lazy-highlight-search): Remove recent fix of lazy-highlighting of hidden matches. In emacs-27 leave only the fix for lazy-counting of hidden matches when isearch-lazy-count is non-nil. ; Do not merge to master.
This commit is contained in:
parent
f9fa726ced
commit
f5cb5bb828
1 changed files with 3 additions and 4 deletions
|
|
@ -3866,10 +3866,9 @@ Attempt to do the search exactly the way the pending Isearch would."
|
|||
(isearch-regexp-lax-whitespace
|
||||
isearch-lazy-highlight-regexp-lax-whitespace)
|
||||
(isearch-forward isearch-lazy-highlight-forward)
|
||||
;; Don't match invisible text unless it can be opened
|
||||
;; or when counting matches and user can visit hidden matches
|
||||
(search-invisible (or (eq search-invisible 'open)
|
||||
(and isearch-lazy-count search-invisible)))
|
||||
;; Match invisible text only when counting matches
|
||||
;; and user can visit invisible matches
|
||||
(search-invisible (and isearch-lazy-count search-invisible t))
|
||||
(retry t)
|
||||
(success nil))
|
||||
;; Use a loop like in `isearch-search'.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue