Fix bugs #13623 and 13626 caused by changes in 2013-02-01T07:23:18Z!dmantipov@yandex.ru.
authorEli Zaretskii <eliz@gnu.org>
Mon, 4 Feb 2013 15:39:55 +0000 (17:39 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 4 Feb 2013 15:39:55 +0000 (17:39 +0200)
commit86f7c0fe6000de85d8b282da761e65e18a73b287
tree348144367f435ae190b2b76a6abce081c1e5c1ed
parent6e5c1569e941d385d28466a337ece0322bfa93e7
Fix bugs #13623 and 13626 caused by changes in 2013-02-01T07:23:18Z!dmantipov@yandex.ru.

 src/xdisp.c (window_buffer_changed): region_showing can be negative,
 which still means region is being displayed.
 (redisplay_internal): Resurrect code that forced redisplay of the
 whole window when showing region and the mark has changed.  Record
 the new mark position to allow redisplay optimizations.
 (display_line): If it->region_beg_charpos is non-zero, set the
 window's region_showing member to -1.
 src/window.h (struct window) <region_showing>: Declare ptrdiff_t,
 not bitfield of 1 bit.
src/ChangeLog
src/window.h
src/xdisp.c