aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2000-06-10 00:35:26 +0000
committerKenichi Handa2000-06-10 00:35:26 +0000
commit6db43875f53b369c0bccecec55465fe2abe6e7dc (patch)
tree2959d1bbdaa5466c573d8ca4ea4fcdae45659a9c /src
parent88b837a212a031aa9bfce585e4fcf5d0a38f6867 (diff)
downloademacs-6db43875f53b369c0bccecec55465fe2abe6e7dc.tar.gz
emacs-6db43875f53b369c0bccecec55465fe2abe6e7dc.zip
(Finsert_file_contents): Be sure to setup src_multibyte
and dst_multibyte members of coding.
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c3
1 files changed, 3 insertions, 0 deletions
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.")
4204 /* We must suppress all character code conversion except for 4204 /* We must suppress all character code conversion except for
4205 end-of-line conversion. */ 4205 end-of-line conversion. */
4206 setup_raw_text_coding_system (&coding); 4206 setup_raw_text_coding_system (&coding);
4207 coding.src_multibyte = 0;
4208 coding.dst_multibyte
4209 = !NILP (current_buffer->enable_multibyte_characters);
4207 } 4210 }
4208 4211
4209 if (!NILP (visit) 4212 if (!NILP (visit)