Commit 57515cfe authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(Finsert_file_contents): Call setup_raw_text_coding_system.

parent 1d8a80f0
...@@ -3501,15 +3501,9 @@ actually used.") ...@@ -3501,15 +3501,9 @@ actually used.")
if (NILP (Vcoding_system_for_read) if (NILP (Vcoding_system_for_read)
&& NILP (current_buffer->enable_multibyte_characters)) && NILP (current_buffer->enable_multibyte_characters))
{ /* We must suppress all text conversion except for end-of-line
/* We must suppress all text conversion except for end-of-line conversion. */
conversion. */ setup_raw_text_coding_system (&coding);
int eol_type;
eol_type = coding.eol_type;
setup_coding_system (Qraw_text, &coding);
coding.eol_type = eol_type;
}
coding_system_decided = 1; coding_system_decided = 1;
} }
...@@ -4023,15 +4017,9 @@ actually used.") ...@@ -4023,15 +4017,9 @@ actually used.")
if (NILP (Vcoding_system_for_read) if (NILP (Vcoding_system_for_read)
&& NILP (current_buffer->enable_multibyte_characters)) && NILP (current_buffer->enable_multibyte_characters))
{ /* We must suppress all text conversion except for
/* We must suppress all text conversion except for end-of-line conversion. */
end-of-line conversion. */ setup_raw_text_coding_system (&coding);
int eol_type;
eol_type = coding.eol_type;
setup_coding_system (Qraw_text, &coding);
coding.eol_type = eol_type;
}
} }
if (CODING_MAY_REQUIRE_DECODING (&coding)) if (CODING_MAY_REQUIRE_DECODING (&coding))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment