aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c2
1 files changed, 1 insertions, 1 deletions
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.")
2681 /* Arrange to read only the nonmatching middle part of the file. */ 2681 /* Arrange to read only the nonmatching middle part of the file. */
2682 XFASTINT (beg) = same_at_start - BEGV; 2682 XFASTINT (beg) = same_at_start - BEGV;
2683 XFASTINT (end) = st.st_size - (ZV - same_at_end); 2683 XFASTINT (end) = st.st_size - (ZV - same_at_end);
2684 del_range_1 (same_at_start, same_at_end - same_at_start, 0); 2684 del_range_1 (same_at_start, same_at_end, 0);
2685 /* Insert from the file at the proper position. */ 2685 /* Insert from the file at the proper position. */
2686 SET_PT (same_at_start); 2686 SET_PT (same_at_start);
2687 } 2687 }