aboutsummaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c
index cdbd0be28ad..7d7b0b3148f 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -4329,8 +4329,11 @@ by calling `format-decode', which see. */)
4329 coding_system = CODING_ID_NAME (coding.id); 4329 coding_system = CODING_ID_NAME (coding.id);
4330 } 4330 }
4331 else if (inserted > 0) 4331 else if (inserted > 0)
4332 adjust_after_insert (PT, PT_BYTE, PT + inserted, PT_BYTE + inserted, 4332 {
4333 inserted); 4333 invalidate_buffer_caches (current_buffer, PT, PT + inserted);
4334 adjust_after_insert (PT, PT_BYTE, PT + inserted, PT_BYTE + inserted,
4335 inserted);
4336 }
4334 4337
4335 /* Call after-change hooks for the inserted text, aside from the case 4338 /* Call after-change hooks for the inserted text, aside from the case
4336 of normal visiting (not with REPLACE), which is done in a new buffer 4339 of normal visiting (not with REPLACE), which is done in a new buffer