changeset 29540:c449a480768c

(Finsert_file_contents): Be sure to setup src_multibyte and dst_multibyte members of coding.
author Kenichi Handa <handa@m17n.org>
date Sat, 10 Jun 2000 00:35:26 +0000
parents a6f1d75744d8
children 052b821cc142
files src/fileio.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Sat Jun 10 00:13:13 2000 +0000
+++ b/src/fileio.c	Sat Jun 10 00:35:26 2000 +0000
@@ -4204,6 +4204,9 @@
 	/* 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)