1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-12 22:40:46 -08:00

(Finsert_file_contents): Don't call prepare_to_modify_buffer

if inserting zero characters.
This commit is contained in:
Richard M. Stallman 1993-08-01 12:19:11 +00:00
parent 1d673d85da
commit 57d8d46819

View file

@ -2446,7 +2446,7 @@ If VISIT is non-nil, BEG and END must be nil.")
error ("maximum buffer size exceeded");
}
if (NILP (visit))
if (NILP (visit) && total > 0)
prepare_to_modify_buffer (point, point);
move_gap (point);