src/search.c (Freplace_match): Let replace_range
call the a-c-f
This commit is contained in:
parent
9854103b52
commit
19f5ccbf39
1 changed files with 1 additions and 2 deletions
|
@ -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]),
|
||||
|
|
Loading…
Add table
Reference in a new issue