FRAME_MSDOS_P is a compile-time zero everywhere except MS-DOS.
Also, move TTY fflush to...
* term.c (tty_update_end): ...this function.
+2013-10-11 Dmitry Antipov <dmantipov@yandex.ru>
+
+ * dispnew.c (redraw_frame): Remove useless #ifdef because
+ FRAME_MSDOS_P is a compile-time zero everywhere except MS-DOS.
+ Also, move TTY fflush to...
+ * term.c (tty_update_end): ...this function.
+
2013-10-11 Eli Zaretskii <eliz@gnu.org>
* xdisp.c (display_tty_menu_item): Make sure we never write beyond
/* Error if F has no glyphs. */
eassert (f->glyphs_initialized_p);
update_begin (f);
-#ifdef MSDOS
if (FRAME_MSDOS_P (f))
FRAME_TERMINAL (f)->set_terminal_modes_hook (FRAME_TERMINAL (f));
-#endif
clear_frame (f);
clear_current_matrices (f);
update_end (f);
- if (FRAME_TERMCAP_P (f))
- fflush (FRAME_TTY (f)->output);
windows_or_buffers_changed++;
/* Mark all windows as inaccurate, so that every window will have
its redisplay done. */
tty_show_cursor (tty);
tty_turn_off_insert (tty);
tty_background_highlight (tty);
+ fflush (tty->output);
}
/* The implementation of set_terminal_window for termcap frames. */