summaryrefslogtreecommitdiff
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-05-20 05:58:25 +0000
committerRichard M. Stallman <rms@gnu.org>1997-05-20 05:58:25 +0000
commit0a45eb47643594b4a27d6f416bcbae4df516d3b4 (patch)
tree883405a4df6eef0a6151c6cce3b03451f2a2ffd3 /src/dispnew.c
parentb5e81e1619d5c3e1c9afd670554d1a14f4f1dd65 (diff)
downloademacs-0a45eb47643594b4a27d6f416bcbae4df516d3b4.tar.gz
(sit_for): Delete #if 0.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c26
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)
XSETINT (read_kbd, reading ? -1 : 1);
wait_reading_process_input (sec, usec, read_kbd, display);
-
- /* wait_reading_process_input should always be available now; it is
- simulated in a simple way on systems that don't support
- subprocesses. */
-#if 0
- /* No wait_reading_process_input available. */
- immediate_quit = 1;
- QUIT;
-
- waitchannels = 1;
-#ifdef VMS
- input_wait_timeout (XINT (arg));
-#else /* not VMS */
-#ifndef HAVE_TIMEVAL
- timeout_sec = sec;
- select (1, &waitchannels, 0, 0, &timeout_sec);
-#else /* HAVE_TIMEVAL */
- timeout.tv_sec = sec;
- timeout.tv_usec = usec;
- select (1, &waitchannels, 0, 0, &timeout);
-#endif /* HAVE_TIMEVAL */
-#endif /* not VMS */
-
- immediate_quit = 0;
-#endif
-
return detect_input_pending () ? Qnil : Qt;
}