* xdisp.c (echo_area_display, redisplay_internal):

Omit redundant check whether frame_garbaged is set.
This commit is contained in:
Dmitry Antipov 2012-11-14 15:13:33 +04:00
parent 8619323f69
commit 77731919f9
2 changed files with 9 additions and 8 deletions

View file

@ -1,3 +1,8 @@
2012-11-14 Dmitry Antipov <dmantipov@yandex.ru>
* xdisp.c (echo_area_display, redisplay_internal):
Omit redundant check whether frame_garbaged is set.
2012-11-14 Paul Eggert <eggert@cs.ucla.edu>
Use faccessat, not access, when checking file permissions (Bug#12632).

View file

@ -10816,8 +10816,7 @@ echo_area_display (int update_frame_p)
#endif /* HAVE_WINDOW_SYSTEM */
/* Redraw garbaged frames. */
if (frame_garbaged)
clear_garbaged_frames ();
clear_garbaged_frames ();
if (!NILP (echo_area_buffer[0]) || minibuf_level == 0)
{
@ -13104,8 +13103,7 @@ redisplay_internal (void)
}
/* Clear frames marked as garbaged. */
if (frame_garbaged)
clear_garbaged_frames ();
clear_garbaged_frames ();
/* Build menubar and tool-bar items. */
if (NILP (Vmemory_full))
@ -13189,8 +13187,7 @@ redisplay_internal (void)
/* If window configuration was changed, frames may have been
marked garbaged. Clear them or we will experience
surprises wrt scrolling. */
if (frame_garbaged)
clear_garbaged_frames ();
clear_garbaged_frames ();
}
}
else if (EQ (selected_window, minibuf_window)
@ -13213,8 +13210,7 @@ redisplay_internal (void)
/* If window configuration was changed, frames may have been
marked garbaged. Clear them or we will experience
surprises wrt scrolling. */
if (frame_garbaged)
clear_garbaged_frames ();
clear_garbaged_frames ();
}