Commit 8d4e077b authored by Joseph Arceneaux's avatar Joseph Arceneaux

* fileio.c (Finsert_file_contents): Call offset_intervals() if

	text was actually inserted.
	#include "intervals.h".
parent 79f3b0b7
......@@ -52,6 +52,7 @@ extern int sys_nerr;
#endif
#include "lisp.h"
#include "intervals.h"
#include "buffer.h"
#include "window.h"
......@@ -2320,6 +2321,9 @@ before the error is signaled.")
if (inserted > 0)
{
record_insert (point, inserted);
/* Only defined if Emacs is compiled with USE_TEXT_PROPERTIES */
offset_intervals (current_buffer, point, inserted);
MODIFF++;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment