Subject: Re: bug#57733: 29.0.50; Fix "Invalid search bound (wrong side of point)" error in replace-*-in-region

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 11 Sep 2022 18:17:17 +0200

Kévin Le Gouguec <[email-masked]> writes:

> Backtrace attached, with suggested patch (including tests) to update END
> to reflect the displacement after each replacement.

Perhaps a simpler solution would to just be to use
`save-restriction'+`narrow-to-region' first and then don't use an END in
the search?