Fix bug #15841 with assertion violations due to newline cache.
authorEli Zaretskii <eliz@gnu.org>
Mon, 18 Nov 2013 16:29:49 +0000 (18:29 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 18 Nov 2013 16:29:49 +0000 (18:29 +0200)
commit37c790b38599cc80a16c6a76152abbf8160fe2a1
treea2f40d0acba8cdcf5c6502f4c07093f138772887
parentf2cbfd4442bf194bd277101357a86f96707ec36c
Fix bug #15841 with assertion violations due to newline cache.

 src/insdel.c (invalidate_buffer_caches): New function, consolidated
 from part of prepare_to_modify_buffer.
 (insert_from_gap, prepare_to_modify_buffer):
 src/coding.c (code_convert_region, code_convert_string): Call
 invalidate_buffer_caches.
 src/lisp.h (invalidate_buffer_caches): Add prototype.
src/ChangeLog
src/coding.c
src/insdel.c
src/lisp.h