From eb473083cd1c38665385b0f8aba443252d46fd53 Mon Sep 17 00:00:00 2001 From: Sora Takai Date: Wed, 19 Mar 2025 23:50:38 +0900 Subject: [PATCH] Make isearch lazy-highlights non-sticky at both ends (bug#77121) Copyright-paperwork-exempt: yes (cherry picked from commit 893c40c63e8e30eae6be577670612aa21768d312) --- lisp/isearch.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/isearch.el b/lisp/isearch.el index 4403da16024..d99fc47412c 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -4225,7 +4225,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 -- 2.39.5