(Finsert_file_contents): Even if INSERTED is zero, if
authorKenichi Handa <handa@m17n.org>
Tue, 15 Dec 1998 04:35:38 +0000 (04:35 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 15 Dec 1998 04:35:38 +0000 (04:35 +0000)
CODING is handled by CCL program, call code_convert_region.

src/fileio.c

index 4e6b620..7fe5b00 100644 (file)
@@ -4075,7 +4075,7 @@ actually used.")
        setup_raw_text_coding_system (&coding);
     }
 
-  if (inserted > 0)
+  if (inserted > 0 || coding.type == coding_type_ccl)
     {
       if (CODING_MAY_REQUIRE_DECODING (&coding))
        {