aboutsummaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
authorKenichi Handa <[email protected]>1999-11-25 04:41:52 +0000
committerKenichi Handa <[email protected]>1999-11-25 04:41:52 +0000
commit22d92d6b53541889e9bf6459eab091064e7040d9 (patch)
tree7568e3b9f40e445e53c4f48746d3456f39d3e2ee /src/fileio.c
parent3573735116ab9e977695148ca45a67530d87f249 (diff)
(Finsert_file_contents): Set buffer-file-coding-system
of the current buffer via Fset.
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index a91b2680ae..7b3084c7aa 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -3412,7 +3412,7 @@ actually used.")
st.st_mtime = -1;
how_much = 0;
if (!NILP (Vcoding_system_for_read))
- current_buffer->buffer_file_coding_system = Vcoding_system_for_read;
+ Fset (Qbuffer_file_coding_system, Vcoding_system_for_read);
goto notfound;
}