diff options
| author | Chong Yidong | 2009-01-29 14:32:49 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-01-29 14:32:49 +0000 |
| commit | 55310b94ebec5a1614ea52454e088d50580a175b (patch) | |
| tree | 4d8752b4fa8b6b891ab6d998885a750525669ef3 /src | |
| parent | a8fe32423135615b1629e2e90a8c52234d4913c9 (diff) | |
| download | emacs-55310b94ebec5a1614ea52454e088d50580a175b.tar.gz emacs-55310b94ebec5a1614ea52454e088d50580a175b.zip | |
(emacs_write): Use process_pending_signals.
Diffstat (limited to 'src')
| -rw-r--r-- | src/sysdep.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index c1f193f96b6..dfefed7679c 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -2539,10 +2539,7 @@ emacs_write (fildes, buf, nbyte) | |||
| 2539 | #ifdef SYNC_INPUT | 2539 | #ifdef SYNC_INPUT |
| 2540 | /* I originally used `QUIT' but that might causes files to | 2540 | /* I originally used `QUIT' but that might causes files to |
| 2541 | be truncated if you hit C-g in the middle of it. --Stef */ | 2541 | be truncated if you hit C-g in the middle of it. --Stef */ |
| 2542 | if (interrupt_input_pending) | 2542 | process_pending_signals (); |
| 2543 | handle_async_input (); | ||
| 2544 | if (pending_atimers) | ||
| 2545 | do_pending_atimers (); | ||
| 2546 | #endif | 2543 | #endif |
| 2547 | continue; | 2544 | continue; |
| 2548 | } | 2545 | } |