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:
@@ -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'.
|
||||
|
||||
Reference in New Issue
Block a user