]> code.delx.au - gnu-emacs/commitdiff
(emacs_write): If SYNC_INPUT and pending_atimers, run atimers.
authorJan Djärv <jan.h.d@swipnet.se>
Wed, 9 Apr 2008 06:46:14 +0000 (06:46 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Wed, 9 Apr 2008 06:46:14 +0000 (06:46 +0000)
src/sysdep.c

index 02e1832e63fe2604d58f75c427c5a0cf468e9953..1d43a59112f54e43862208ffa8ab4a45b13d796c 100644 (file)
@@ -3394,6 +3394,8 @@ emacs_write (fildes, buf, nbyte)
                 be truncated if you hit C-g in the middle of it.  --Stef  */
              if (interrupt_input_pending)
                handle_async_input ();
+              if (pending_atimers)
+                do_pending_atimers ();
 #endif
              continue;
            }