Avoid assertion violations in Rmail due to newline cache
commitf1601063f29c99be77d2513320ed6d2494926c1d
authorEli Zaretskii <eliz@gnu.org>
Sat, 28 Feb 2015 10:33:32 +0000 (28 12:33 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 28 Feb 2015 10:33:32 +0000 (28 12:33 +0200)
tree823f2f78c679678f54d21e9e74be3dc1c7bd0d84
parent1b0ebbdb566a8dfa5f45ce121b2c835e9760091f
Avoid assertion violations in Rmail due to newline cache

 src/search.c (find_newline): Avoid assertion violations in
 CHAR_TO_BYTE when a portion of the buffer was deleted and we look
 for newlines near the end of the buffer.  This happens in Rmail
 hen JIT font-lock fontifies a newly displayed portion of the
 buffer.
src/ChangeLog
src/search.c