Make isearch lazy-highlights non-sticky at both ends (bug#77121)

Copyright-paperwork-exempt: yes
This commit is contained in:
Sora Takai 2025-03-19 23:50:38 +09:00 committed by Juri Linkov
parent 25d7575358
commit 893c40c63e

View file

@ -4265,7 +4265,7 @@ Attempt to do the search exactly the way the pending Isearch would."
(and (eq isearch-lazy-highlight-invisible 'open)
'can-be-opened)))
(funcall isearch-filter-predicate mb me)))
(let ((ov (make-overlay mb me)))
(let ((ov (make-overlay mb me nil t nil)))
(push ov isearch-lazy-highlight-overlays)
;; 1000 is higher than ediff's 100+,
;; but lower than isearch main overlay's 1001