Commit e9214600 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(Finsert_file_contents): Do not set Vlast_coding_system

if inserted bytes is zero.
parent 65f64d00
...@@ -4117,7 +4117,7 @@ actually used.") ...@@ -4117,7 +4117,7 @@ actually used.")
&& (NILP (visit) || !NILP (replace))) && (NILP (visit) || !NILP (replace)))
signal_after_change (PT, 0, inserted); signal_after_change (PT, 0, inserted);
if (set_coding_system) if (set_coding_system && inserted > 0)
Vlast_coding_system_used = coding.symbol; Vlast_coding_system_used = coding.symbol;
if (inserted > 0) if (inserted > 0)
......
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