aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 1103a51bd65..6476ce21264 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -3788,7 +3788,12 @@ actually used. */)
3788 } 3788 }
3789 3789
3790 if (EQ (Vcoding_system_for_read, Qauto_save_coding)) 3790 if (EQ (Vcoding_system_for_read, Qauto_save_coding))
3791 coding_system = Qutf_8_emacs; 3791 {
3792 coding_system = Qutf_8_emacs;
3793 setup_coding_system (coding_system, &coding);
3794 /* Ensure we set Vlast_coding_system_used. */
3795 set_coding_system = 1;
3796 }
3792 else if (BEG < Z) 3797 else if (BEG < Z)
3793 { 3798 {
3794 /* Decide the coding system to use for reading the file now 3799 /* Decide the coding system to use for reading the file now