# HG changeset patch # User Richard M. Stallman # Date 756609565 0 # Node ID 378540cf056fad320c4ff51298b9ea63cd1df16d # Parent 3be757b02da0817011c318dc18a457f2a385af7f (del_range): Second argument in call to offset_intervals is 'from', not 'point'. (modify_region): Call record_first_change if necessary. (insert_from_string): Pass LENGTH arg to graft_intervals_into_buffer. diff -r 3be757b02da0 -r 378540cf056f src/insdel.c --- a/src/insdel.c Thu Dec 23 01:15:13 1993 +0000 +++ b/src/insdel.c Thu Dec 23 01:19:25 1993 +0000 @@ -456,7 +456,7 @@ } /* Only defined if Emacs is compiled with USE_TEXT_PROPERTIES */ - offset_intervals (current_buffer, point, - numdel); + offset_intervals (current_buffer, from, - numdel); /* Relocate all markers pointing into the new, larger gap to point at the end of the text before the gap. */ @@ -495,6 +495,9 @@ if (Z - end < end_unchanged || unchanged_modified == MODIFF) end_unchanged = Z - end; + + if (MODIFF <= current_buffer->save_modified) + record_first_change (); MODIFF++; if (buffer != old_buffer)