]> git.eshelyaron.com Git - emacs.git/commitdiff
* dispnew.c (redraw_frame): Remove useless #ifdef because
authorDmitry Antipov <dmantipov@yandex.ru>
Fri, 11 Oct 2013 11:11:28 +0000 (15:11 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Fri, 11 Oct 2013 11:11:28 +0000 (15:11 +0400)
FRAME_MSDOS_P is a compile-time zero everywhere except MS-DOS.
Also, move TTY fflush to...
* term.c (tty_update_end): ...this function.

src/ChangeLog
src/dispnew.c
src/term.c

index 6947c5eddd538e58ef647d11909d44ed6a442900..74bb2a06cb92ce79b28d76def93953c95d4148d4 100644 (file)
@@ -1,3 +1,10 @@
+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
index e3a1c1b49cbc89ab9fd48547b4176bc16a448efd..d01de1853327fac5bc532969ca2133b23f878d67 100644 (file)
@@ -2937,15 +2937,11 @@ redraw_frame (struct frame *f)
   /* 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.  */
index 9437faee8a27a812b3b2955ad3fa4ec52c54fa56..27471775d03b1c4e946db4822c1fb1cd9fa74f34 100644 (file)
@@ -220,6 +220,7 @@ tty_update_end (struct frame *f)
     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. */