From: Richard M. Stallman Date: Fri, 4 Mar 1994 04:19:14 +0000 (+0000) Subject: (Finsert_file_contents): Pass del_range_1 two ends, not a length. X-Git-Tag: emacs-19.34~9658 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=251f623e8e6855659c5c1cac4d69d5ec0ada784f;p=emacs.git (Finsert_file_contents): Pass del_range_1 two ends, not a length. --- diff --git a/src/fileio.c b/src/fileio.c index 3b1513600e2..e24dca08306 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -2681,7 +2681,7 @@ and (2) it puts less data in the undo list.") /* Arrange to read only the nonmatching middle part of the file. */ XFASTINT (beg) = same_at_start - BEGV; XFASTINT (end) = st.st_size - (ZV - same_at_end); - del_range_1 (same_at_start, same_at_end - same_at_start, 0); + del_range_1 (same_at_start, same_at_end, 0); /* Insert from the file at the proper position. */ SET_PT (same_at_start); }