Commit d2cad97d authored by Richard M. Stallman's avatar Richard M. Stallman

(Finsert_file_contents): Don't call signal_after_change

if we did not call prepare_to_modify_buffer.
parent 55253957
......@@ -2558,7 +2558,8 @@ If VISIT is non-nil, BEG and END must be nil.")
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)
{
......
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