diff options
| author | Richard M. Stallman | 1997-05-20 05:58:25 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-05-20 05:58:25 +0000 |
| commit | 1760ba7ae541f6fccdf7d7851bc76e70a4204bce (patch) | |
| tree | bb93af312fdff6e7533df107aad2e4a507fe32f5 /src | |
| parent | db8c4866b438ebb6204f179137445c360e50c3fb (diff) | |
| download | emacs-1760ba7ae541f6fccdf7d7851bc76e70a4204bce.tar.gz emacs-1760ba7ae541f6fccdf7d7851bc76e70a4204bce.zip | |
(sit_for): Delete #if 0.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispnew.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index 691ea4be410..54207191179 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -2404,32 +2404,6 @@ sit_for (sec, usec, reading, display) | |||
| 2404 | XSETINT (read_kbd, reading ? -1 : 1); | 2404 | XSETINT (read_kbd, reading ? -1 : 1); |
| 2405 | wait_reading_process_input (sec, usec, read_kbd, display); | 2405 | wait_reading_process_input (sec, usec, read_kbd, display); |
| 2406 | 2406 | ||
| 2407 | |||
| 2408 | /* wait_reading_process_input should always be available now; it is | ||
| 2409 | simulated in a simple way on systems that don't support | ||
| 2410 | subprocesses. */ | ||
| 2411 | #if 0 | ||
| 2412 | /* No wait_reading_process_input available. */ | ||
| 2413 | immediate_quit = 1; | ||
| 2414 | QUIT; | ||
| 2415 | |||
| 2416 | waitchannels = 1; | ||
| 2417 | #ifdef VMS | ||
| 2418 | input_wait_timeout (XINT (arg)); | ||
| 2419 | #else /* not VMS */ | ||
| 2420 | #ifndef HAVE_TIMEVAL | ||
| 2421 | timeout_sec = sec; | ||
| 2422 | select (1, &waitchannels, 0, 0, &timeout_sec); | ||
| 2423 | #else /* HAVE_TIMEVAL */ | ||
| 2424 | timeout.tv_sec = sec; | ||
| 2425 | timeout.tv_usec = usec; | ||
| 2426 | select (1, &waitchannels, 0, 0, &timeout); | ||
| 2427 | #endif /* HAVE_TIMEVAL */ | ||
| 2428 | #endif /* not VMS */ | ||
| 2429 | |||
| 2430 | immediate_quit = 0; | ||
| 2431 | #endif | ||
| 2432 | |||
| 2433 | return detect_input_pending () ? Qnil : Qt; | 2407 | return detect_input_pending () ? Qnil : Qt; |
| 2434 | } | 2408 | } |
| 2435 | 2409 | ||