aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa1998-06-26 03:29:15 +0000
committerKenichi Handa1998-06-26 03:29:15 +0000
commit57515cfea135bd63cc4a9820567f74397544bcc4 (patch)
treeae6538e82eb2826c0a3b318a99f724b86ee1aff4 /src
parent1d8a80f0bdf75ef9665fcf8cd409db17d7ee9ad5 (diff)
downloademacs-57515cfea135bd63cc4a9820567f74397544bcc4.tar.gz
emacs-57515cfea135bd63cc4a9820567f74397544bcc4.zip
(Finsert_file_contents): Call setup_raw_text_coding_system.
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c24
1 files 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.")
3501 3501
3502 if (NILP (Vcoding_system_for_read) 3502 if (NILP (Vcoding_system_for_read)
3503 && NILP (current_buffer->enable_multibyte_characters)) 3503 && NILP (current_buffer->enable_multibyte_characters))
3504 { 3504 /* We must suppress all text conversion except for end-of-line
3505 /* We must suppress all text conversion except for end-of-line 3505 conversion. */
3506 conversion. */ 3506 setup_raw_text_coding_system (&coding);
3507 int eol_type;
3508
3509 eol_type = coding.eol_type;
3510 setup_coding_system (Qraw_text, &coding);
3511 coding.eol_type = eol_type;
3512 }
3513 3507
3514 coding_system_decided = 1; 3508 coding_system_decided = 1;
3515 } 3509 }
@@ -4023,15 +4017,9 @@ actually used.")
4023 4017
4024 if (NILP (Vcoding_system_for_read) 4018 if (NILP (Vcoding_system_for_read)
4025 && NILP (current_buffer->enable_multibyte_characters)) 4019 && NILP (current_buffer->enable_multibyte_characters))
4026 { 4020 /* We must suppress all text conversion except for
4027 /* We must suppress all text conversion except for 4021 end-of-line conversion. */
4028 end-of-line conversion. */ 4022 setup_raw_text_coding_system (&coding);
4029 int eol_type;
4030
4031 eol_type = coding.eol_type;
4032 setup_coding_system (Qraw_text, &coding);
4033 coding.eol_type = eol_type;
4034 }
4035 } 4023 }
4036 4024
4037 if (CODING_MAY_REQUIRE_DECODING (&coding)) 4025 if (CODING_MAY_REQUIRE_DECODING (&coding))