]> git.eshelyaron.com Git - emacs.git/commitdiff
Make occur edit mode more resilient
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 23 Jan 2022 12:54:16 +0000 (13:54 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 23 Jan 2022 12:54:16 +0000 (13:54 +0100)
* lisp/replace.el (occur-engine): Make the prefix read-only so
that it's preserved in edit mode (bug#53419).

lisp/replace.el

index 60e507c6429b578c2c39bd7131127d4991b21da3..dd6e5a42258ae8aa43510c03eecac768fe6c6184 100644 (file)
@@ -2086,6 +2086,7 @@ See also `multi-occur'."
                                                     ;; (for Occur Edit mode).
                                                     front-sticky t
                                                     rear-nonsticky t
+                                                     read-only t
                                                     occur-target ,markers
                                                     follow-link t
                                                     help-echo "mouse-2: go to this occurrence"))))