diff src/fileio.c @ 26587:8b07051df40d

(Finsert_file_contents): Set buffer-file-coding-system of the current buffer via Fset.
author Kenichi Handa <handa@m17n.org>
date Thu, 25 Nov 1999 04:41:52 +0000
parents b7438760079b
children b149d27170f9
line wrap: on
line diff
--- a/src/fileio.c	Thu Nov 25 04:41:00 1999 +0000
+++ b/src/fileio.c	Thu Nov 25 04:41:52 1999 +0000
@@ -3412,7 +3412,7 @@
       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;
     }