mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-01 09:51:22 -08:00
(Finsert_file_contents): Call setup_raw_text_coding_system.
This commit is contained in:
parent
1d8a80f0bd
commit
57515cfea1
1 changed files with 6 additions and 18 deletions
24
src/fileio.c
24
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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue