# HG changeset patch # User Richard M. Stallman # Date 754049384 0 # Node ID d48d18e2031692a295d773008fd92cdf8bcd4fa2 # Parent 16e75a0b53e5881da6246ca9be44eded33b982d9 (Finsert_file_contents): Don't call signal_after_change if we did not call prepare_to_modify_buffer. diff -r 16e75a0b53e5 -r d48d18e20316 src/fileio.c --- a/src/fileio.c Tue Nov 23 09:57:33 1993 +0000 +++ b/src/fileio.c Tue Nov 23 10:09:44 1993 +0000 @@ -2558,7 +2558,8 @@ report_file_error ("Opening input file", Fcons (filename, Qnil)); } - signal_after_change (point, 0, inserted); + if (NILP (visit) && total > 0) + signal_after_change (point, 0, inserted); if (inserted > 0) {