comparison src/fileio.c @ 22668:ad4d9aae0a33

(Finsert_file_contents): Do not set Vlast_coding_system if inserted bytes is zero.
author Kenichi Handa <handa@m17n.org>
date Fri, 03 Jul 1998 04:33:12 +0000
parents 9f320d762e2f
children 127d903d615a
comparison
equal deleted inserted replaced
22667:8e8001567771 22668:ad4d9aae0a33
4115 "before" the buffer is changed. */ 4115 "before" the buffer is changed. */
4116 if (inserted > 0 && total > 0 4116 if (inserted > 0 && total > 0
4117 && (NILP (visit) || !NILP (replace))) 4117 && (NILP (visit) || !NILP (replace)))
4118 signal_after_change (PT, 0, inserted); 4118 signal_after_change (PT, 0, inserted);
4119 4119
4120 if (set_coding_system) 4120 if (set_coding_system && inserted > 0)
4121 Vlast_coding_system_used = coding.symbol; 4121 Vlast_coding_system_used = coding.symbol;
4122 4122
4123 if (inserted > 0) 4123 if (inserted > 0)
4124 { 4124 {
4125 p = Vafter_insert_file_functions; 4125 p = Vafter_insert_file_functions;