summaryrefslogtreecommitdiff
path: root/src/fileio.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>1998-06-26 03:29:15 +0000
committerKenichi Handa <handa@m17n.org>1998-06-26 03:29:15 +0000
commit57515cfea135bd63cc4a9820567f74397544bcc4 (patch)
treeae6538e82eb2826c0a3b318a99f724b86ee1aff4 /src/fileio.c
parent1d8a80f0bdf75ef9665fcf8cd409db17d7ee9ad5 (diff)
downloademacs-57515cfea135bd63cc4a9820567f74397544bcc4.tar.gz
(Finsert_file_contents): Call setup_raw_text_coding_system.
Diffstat (limited to 'src/fileio.c')
-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.")
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))