From: Kenichi Handa Date: Fri, 26 Jun 1998 03:29:15 +0000 (+0000) Subject: (Finsert_file_contents): Call setup_raw_text_coding_system. X-Git-Tag: emacs-20.3~466 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=57515cfea135bd63cc4a9820567f74397544bcc4;p=emacs.git (Finsert_file_contents): Call setup_raw_text_coding_system. --- 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))