From: Kenichi Handa Date: Sat, 10 Jun 2000 00:35:26 +0000 (+0000) Subject: (Finsert_file_contents): Be sure to setup src_multibyte X-Git-Tag: emacs-pretest-21.0.90~3419 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6db43875f53b369c0bccecec55465fe2abe6e7dc;p=emacs.git (Finsert_file_contents): Be sure to setup src_multibyte and dst_multibyte members of coding. --- diff --git a/src/fileio.c b/src/fileio.c index 2f2c49252a9..a030bf1e966 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -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)