From: Sora Takai Date: Wed, 19 Mar 2025 14:50:38 +0000 (+0900) Subject: Make isearch lazy-highlights non-sticky at both ends (bug#77121) X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eb473083cd1c38665385b0f8aba443252d46fd53;p=emacs.git Make isearch lazy-highlights non-sticky at both ends (bug#77121) Copyright-paperwork-exempt: yes (cherry picked from commit 893c40c63e8e30eae6be577670612aa21768d312) --- 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