# HG changeset patch # User Joseph Arceneaux # Date 718052380 0 # Node ID b8337cdf2e8ba9de80230cb970766c29dda201e4 # Parent 3a14fd87bade734ef94348ae855f18f7f02a9d8d * fileio.c (Finsert_file_contents): Call offset_intervals() if text was actually inserted. #include "intervals.h". diff -r 3a14fd87bade -r b8337cdf2e8b src/fileio.c --- a/src/fileio.c Fri Oct 02 04:06:18 1992 +0000 +++ b/src/fileio.c Fri Oct 02 18:59:40 1992 +0000 @@ -52,6 +52,7 @@ #endif #include "lisp.h" +#include "intervals.h" #include "buffer.h" #include "window.h" @@ -2320,6 +2321,9 @@ if (inserted > 0) { record_insert (point, inserted); + + /* Only defined if Emacs is compiled with USE_TEXT_PROPERTIES */ + offset_intervals (current_buffer, point, inserted); MODIFF++; }