# HG changeset patch # User Richard M. Stallman # Date 864698082 0 # Node ID 86ae1679df19f51f469c4a534d7fc301fd6d7c3b # Parent 5c31b98be9732449a9032e99b804fae0ef4a53c9 (sit_for): New arg initial_display. (Fsit_for): Pass new arg. diff -r 5c31b98be973 -r 86ae1679df19 src/dispnew.c --- a/src/dispnew.c Tue May 27 01:52:10 1997 +0000 +++ b/src/dispnew.c Tue May 27 01:54:42 1997 +0000 @@ -2381,8 +2381,8 @@ waiting for input as well. */ Lisp_Object -sit_for (sec, usec, reading, display) - int sec, usec, reading, display; +sit_for (sec, usec, reading, display, initial_display) + int sec, usec, reading, display, initial_display; { Lisp_Object read_kbd; @@ -2391,7 +2391,7 @@ if (detect_input_pending_run_timers (display)) return Qnil; - if (display) + if (initial_display) redisplay_preserve_echo_area (); if (sec == 0 && usec == 0) @@ -2445,7 +2445,7 @@ error ("millisecond `sit-for' not supported on %s", SYSTEM_TYPE); #endif - return sit_for (sec, usec, 0, NILP (nodisp)); + return sit_for (sec, usec, 0, NILP (nodisp), NILP (nodisp)); } char *terminal_type;