* xdisp.c (window_buffer_changed): New function.
authorDmitry Antipov <dmantipov@yandex.ru>
Thu, 22 Nov 2012 06:52:30 +0000 (10:52 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Thu, 22 Nov 2012 06:52:30 +0000 (10:52 +0400)
commit24f0c9dbcb970fa2c374353da6e4cbf1b05a2e7e
tree4726617de8a567b82efe66e8061f529a9ff16804
parentf2ec879ed1332b7b74b27f22eab8b0081c79d2b2
* xdisp.c (window_buffer_changed): New function.
(update_menu_bar, update_tool_bar): Use it to
simplify large 'if' statements.
(redisplay_internal): Generalize commonly used
'tail' and 'frame' local variables.
src/ChangeLog
src/xdisp.c