]> git.eshelyaron.com Git - emacs.git/commitdiff
(code_convert_region): Call adjust_after_insert also
authorAndreas Schwab <schwab@suse.de>
Tue, 14 Apr 1998 10:21:04 +0000 (10:21 +0000)
committerAndreas Schwab <schwab@suse.de>
Tue, 14 Apr 1998 10:21:04 +0000 (10:21 +0000)
in unibyte mode.

src/coding.c

index e94cee5e2de9c0dbee3efe7800e1a463867a1eb6..602737ad6bf69cc261cf583c9e170fcbd4941e14 100644 (file)
@@ -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;
     }