aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1997-05-27 01:54:42 +0000
committerRichard M. Stallman1997-05-27 01:54:42 +0000
commitae5a0dd403ca1ca8d4b8d100c8d92ba3eea04695 (patch)
tree6cb9f979a81df71b72f9bcabb1ec86a0e704f794 /src
parentad66baa4c7baa4b4ecf7af7559cdfc9461f1e639 (diff)
downloademacs-ae5a0dd403ca1ca8d4b8d100c8d92ba3eea04695.tar.gz
emacs-ae5a0dd403ca1ca8d4b8d100c8d92ba3eea04695.zip
(sit_for): New arg initial_display.
(Fsit_for): Pass new arg.
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 54207191179..4c0cd1b917e 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -2381,8 +2381,8 @@ Emacs was built without floating point support.\n\
2381 waiting for input as well. */ 2381 waiting for input as well. */
2382 2382
2383Lisp_Object 2383Lisp_Object
2384sit_for (sec, usec, reading, display) 2384sit_for (sec, usec, reading, display, initial_display)
2385 int sec, usec, reading, display; 2385 int sec, usec, reading, display, initial_display;
2386{ 2386{
2387 Lisp_Object read_kbd; 2387 Lisp_Object read_kbd;
2388 2388
@@ -2391,7 +2391,7 @@ sit_for (sec, usec, reading, display)
2391 if (detect_input_pending_run_timers (display)) 2391 if (detect_input_pending_run_timers (display))
2392 return Qnil; 2392 return Qnil;
2393 2393
2394 if (display) 2394 if (initial_display)
2395 redisplay_preserve_echo_area (); 2395 redisplay_preserve_echo_area ();
2396 2396
2397 if (sec == 0 && usec == 0) 2397 if (sec == 0 && usec == 0)
@@ -2445,7 +2445,7 @@ Value is t if waited the full time with no input arriving.")
2445 error ("millisecond `sit-for' not supported on %s", SYSTEM_TYPE); 2445 error ("millisecond `sit-for' not supported on %s", SYSTEM_TYPE);
2446#endif 2446#endif
2447 2447
2448 return sit_for (sec, usec, 0, NILP (nodisp)); 2448 return sit_for (sec, usec, 0, NILP (nodisp), NILP (nodisp));
2449} 2449}
2450 2450
2451char *terminal_type; 2451char *terminal_type;