aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c
index a7c2ef25efa..e567ed9665e 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -52,6 +52,7 @@ extern int sys_nerr;
52#endif 52#endif
53 53
54#include "lisp.h" 54#include "lisp.h"
55#include "intervals.h"
55#include "buffer.h" 56#include "buffer.h"
56#include "window.h" 57#include "window.h"
57 58
@@ -2320,6 +2321,9 @@ before the error is signaled.")
2320 if (inserted > 0) 2321 if (inserted > 0)
2321 { 2322 {
2322 record_insert (point, inserted); 2323 record_insert (point, inserted);
2324
2325 /* Only defined if Emacs is compiled with USE_TEXT_PROPERTIES */
2326 offset_intervals (current_buffer, point, inserted);
2323 MODIFF++; 2327 MODIFF++;
2324 } 2328 }
2325 2329