]> git.eshelyaron.com Git - emacs.git/commit
(update_search_regs): Install better fix for bug#67124
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 18 Nov 2023 21:34:38 +0000 (16:34 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 18 Nov 2023 21:34:38 +0000 (16:34 -0500)
commit47b497b4dac91e5ea56102018223bdeb5e21a93b
treedb371881f6d35b236d1ed0e22fb2264a4c57188c
parentcca7956c82d612e0249db6065f16bcefc20e84f7
(update_search_regs): Install better fix for bug#67124

The recent fix for the bug in `replace-match-maybe-edit`
was basically a refinement of a previously installed workaround,
whereas the bug was really in `update_search_regs`.

* src/search.c (update_search_regs): Improve handling of `start` positions.
* lisp/replace.el (replace-match-maybe-edit): Remove workaround.
* test/src/search-tests.el (search-test--replace-match-update-data): New test.
lisp/replace.el
src/search.c
test/src/search-tests.el