Commit 0de6b8f4 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Finsert_file_contents): If a coding system is

specified explicitly on visiting a new file, set
buffer-file-coding system of the new buffer to the specified one.
parent 993d17f2
......@@ -3164,6 +3164,8 @@ This does code conversion according to the value of\n\
report_file_error ("Opening input file", Fcons (orig_filename, Qnil));
st.st_mtime = -1;
how_much = 0;
if (!NILP (Vcoding_system_for_read))
current_buffer->buffer_file_coding_system = Vcoding_system_for_read;
goto notfound;
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