From: Kenichi Handa Date: Thu, 25 Nov 1999 04:41:52 +0000 (+0000) Subject: (Finsert_file_contents): Set buffer-file-coding-system X-Git-Tag: emacs-pretest-21.0.90~5981 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=22d92d6b53541889e9bf6459eab091064e7040d9;p=emacs.git (Finsert_file_contents): Set buffer-file-coding-system of the current buffer via Fset. --- diff --git a/src/fileio.c b/src/fileio.c index a91b2680ae8..7b3084c7aa3 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; }