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.
This commit is contained in:
parent
e41682ae9c
commit
bc329caae6
2 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
2014-05-31 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* fileio.c (Finsert_file_contents): Call prepare_to_modify_buffer
|
||||
with PT, not GPT. (Bug#16433)
|
||||
|
||||
Revert last changes to GDB-visible symbols.
|
||||
* lisp.h (ENUMABLE, DEFINE_GDB_SYMBOL_ENUM): Delete macros.
|
||||
(ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Don't use them.
|
||||
|
|
|
|||
|
|
@ -4087,7 +4087,7 @@ by calling `format-decode', which see. */)
|
|||
&& SAVE_MODIFF >= MODIFF)
|
||||
we_locked_file = 1;
|
||||
#endif /* CLASH_DETECTION */
|
||||
prepare_to_modify_buffer (GPT, GPT, NULL);
|
||||
prepare_to_modify_buffer (PT, PT, NULL);
|
||||
}
|
||||
|
||||
move_gap_both (PT, PT_BYTE);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue