Mercurial > emacs
changeset 1299:b8337cdf2e8b
* fileio.c (Finsert_file_contents): Call offset_intervals() if
text was actually inserted.
#include "intervals.h".
author | Joseph Arceneaux <jla@gnu.org> |
---|---|
date | Fri, 02 Oct 1992 18:59:40 +0000 |
parents | 3a14fd87bade |
children | b13b79e28eb5 |
files | src/fileio.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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++; }