diff options
| author | Eli Zaretskii | 2014-05-31 21:23:53 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2014-05-31 21:23:53 +0300 |
| commit | bc329caae6a6991ff28c38144c210bf78528249b (patch) | |
| tree | da422bef52288967210374ef7e99c12f00bd3c5b /src/fileio.c | |
| parent | e41682ae9c8a2df8dd45500581742b1cda59a334 (diff) | |
| download | emacs-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.c | 2 |
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); |