]> git.eshelyaron.com Git - emacs.git/commitdiff
(sit_for): Delete #if 0.
authorRichard M. Stallman <rms@gnu.org>
Tue, 20 May 1997 05:58:25 +0000 (05:58 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 20 May 1997 05:58:25 +0000 (05:58 +0000)
src/dispnew.c

index 691ea4be410719d72a7e2c3f09d2ac11d5534a05..542071911795890f864cf218f802fbecab5e739f 100644 (file)
@@ -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;
 }