]> git.eshelyaron.com Git - emacs.git/commitdiff
(Finsert_file_contents): Be sure to setup src_multibyte
authorKenichi Handa <handa@m17n.org>
Sat, 10 Jun 2000 00:35:26 +0000 (00:35 +0000)
committerKenichi Handa <handa@m17n.org>
Sat, 10 Jun 2000 00:35:26 +0000 (00:35 +0000)
and dst_multibyte members of coding.

src/fileio.c

index 2f2c49252a94291f758ca4eed4616787da80dfcc..a030bf1e96650b2a0b15b6654fdf7d1060ac6d90 100644 (file)
@@ -4204,6 +4204,9 @@ actually used.")
        /* We must suppress all character code conversion except for
           end-of-line conversion.  */
        setup_raw_text_coding_system (&coding);
+      coding.src_multibyte = 0;
+      coding.dst_multibyte
+       = !NILP (current_buffer->enable_multibyte_characters);
     }
 
   if (!NILP (visit)