]> code.delx.au - gnu-emacs/commitdiff
(Finsert_file_contents): Call setup_raw_text_coding_system.
authorKenichi Handa <handa@m17n.org>
Fri, 26 Jun 1998 03:29:15 +0000 (03:29 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 26 Jun 1998 03:29:15 +0000 (03:29 +0000)
src/fileio.c

index 39d67495bb187e959e08c6a6780ae26eb32906cb..47dfc37ba46b1828b780074fa5eac0b9ca246de4 100644 (file)
@@ -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))