From 6db43875f53b369c0bccecec55465fe2abe6e7dc Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Sat, 10 Jun 2000 00:35:26 +0000 Subject: [PATCH] (Finsert_file_contents): Be sure to setup src_multibyte and dst_multibyte members of coding. --- src/fileio.c | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.39.2