aboutsummaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
authorGlenn Morris2014-11-09 23:39:35 -0800
committerGlenn Morris2014-11-09 23:39:35 -0800
commitc832df2ec2f6528bc35f69f9fd9a4b2e470d2ebe (patch)
tree98a77f1acdac589d1be95dea128af1af7e8dc286 /src/fileio.c
parenteca1ea96559e04e18a62a61208d501c557dd4cab (diff)
parentedfdb22f674312389ccf5d5e37efa4d3f1516994 (diff)
downloademacs-c832df2ec2f6528bc35f69f9fd9a4b2e470d2ebe.tar.gz
emacs-c832df2ec2f6528bc35f69f9fd9a4b2e470d2ebe.zip
Merge from emacs-24; up to 117698
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