From 57515cfea135bd63cc4a9820567f74397544bcc4 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 26 Jun 1998 03:29:15 +0000 Subject: [PATCH] (Finsert_file_contents): Call setup_raw_text_coding_system. --- src/fileio.c | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/src/fileio.c b/src/fileio.c index 39d67495bb1..47dfc37ba46 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -3501,15 +3501,9 @@ actually used.") if (NILP (Vcoding_system_for_read) && NILP (current_buffer->enable_multibyte_characters)) - { - /* We must suppress all text conversion except for end-of-line - conversion. */ - int eol_type; - - eol_type = coding.eol_type; - setup_coding_system (Qraw_text, &coding); - coding.eol_type = eol_type; - } + /* We must suppress all text conversion except for end-of-line + conversion. */ + setup_raw_text_coding_system (&coding); coding_system_decided = 1; } @@ -4023,15 +4017,9 @@ actually used.") if (NILP (Vcoding_system_for_read) && NILP (current_buffer->enable_multibyte_characters)) - { - /* We must suppress all text conversion except for - end-of-line conversion. */ - int eol_type; - - eol_type = coding.eol_type; - setup_coding_system (Qraw_text, &coding); - coding.eol_type = eol_type; - } + /* We must suppress all text conversion except for + end-of-line conversion. */ + setup_raw_text_coding_system (&coding); } if (CODING_MAY_REQUIRE_DECODING (&coding)) -- 2.39.2