(code_convert_region): Call adjust_after_insert also
in unibyte mode.
This commit is contained in:
parent
e9cea9474c
commit
68e3a8f141
1 changed files with 5 additions and 1 deletions
|
@ -4026,7 +4026,11 @@ code_convert_region (from, from_byte, to, to_byte, coding, encodep, replace)
|
|||
coding->produced_char = len;
|
||||
}
|
||||
else
|
||||
coding->produced_char = len_byte;
|
||||
{
|
||||
if (!replace)
|
||||
adjust_after_insert (from, from_byte, to, to_byte, len_byte);
|
||||
coding->produced_char = len_byte;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue