aboutsummaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
authorEli Zaretskii2014-05-31 21:23:53 +0300
committerEli Zaretskii2014-05-31 21:23:53 +0300
commitbc329caae6a6991ff28c38144c210bf78528249b (patch)
treeda422bef52288967210374ef7e99c12f00bd3c5b /src/fileio.c
parente41682ae9c8a2df8dd45500581742b1cda59a334 (diff)
downloademacs-bc329caae6a6991ff28c38144c210bf78528249b.tar.gz
emacs-bc329caae6a6991ff28c38144c210bf78528249b.zip
Hopefully fix bug #16433 with corruption of newline_cache in Rmail.
src/fileio.c (Finsert_file_contents): Call prepare_to_modify_buffer with PT, not GPT.
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 03519eda68d..3b7961b930a 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -4087,7 +4087,7 @@ by calling `format-decode', which see. */)
4087 && SAVE_MODIFF >= MODIFF) 4087 && SAVE_MODIFF >= MODIFF)
4088 we_locked_file = 1; 4088 we_locked_file = 1;
4089#endif /* CLASH_DETECTION */ 4089#endif /* CLASH_DETECTION */
4090 prepare_to_modify_buffer (GPT, GPT, NULL); 4090 prepare_to_modify_buffer (PT, PT, NULL);
4091 } 4091 }
4092 4092
4093 move_gap_both (PT, PT_BYTE); 4093 move_gap_both (PT, PT_BYTE);