From: Andreas Schwab Date: Tue, 14 Apr 1998 10:21:04 +0000 (+0000) Subject: (code_convert_region): Call adjust_after_insert also X-Git-Tag: emacs-20.3~1570 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=68e3a8f141204681f90d23fce372f5bc0c3328f3;p=emacs.git (code_convert_region): Call adjust_after_insert also in unibyte mode. --- diff --git a/src/coding.c b/src/coding.c index e94cee5e2de..602737ad6bf 100644 --- a/src/coding.c +++ b/src/coding.c @@ -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; }