]> git.eshelyaron.com Git - emacs.git/commitdiff
Make isearch lazy-highlights non-sticky at both ends (bug#77121)
authorSora Takai <SoraTakai@protonmail.com>
Wed, 19 Mar 2025 14:50:38 +0000 (23:50 +0900)
committerEshel Yaron <me@eshelyaron.com>
Sun, 23 Mar 2025 19:33:55 +0000 (20:33 +0100)
Copyright-paperwork-exempt: yes
(cherry picked from commit 893c40c63e8e30eae6be577670612aa21768d312)

lisp/isearch.el

index 4403da16024da002fc7e657886ac776d85e01c9a..d99fc47412cf8f6f0534fb8093979bc61b17733f 100644 (file)
@@ -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