src/search.c (Freplace_match): Let replace_range call the a-c-f

This commit is contained in:
Stefan Monnier 2025-02-18 09:54:48 -05:00
parent 9854103b52
commit 19f5ccbf39

View file

@ -2761,8 +2761,7 @@ since only regular expressions have distinguished subexpressions. */)
newpoint = sub_start + SCHARS (newtext);
/* Replace the old text with the new in the cleanest possible way. */
replace_range (sub_start, sub_end, newtext, 1, 0, 1, true, true);
signal_after_change (sub_start, sub_end - sub_start, SCHARS (newtext));
replace_range (sub_start, sub_end, newtext, 1, 0, 1, true, false);
if (case_action == all_caps)
Fupcase_region (make_fixnum (search_regs.start[sub]),