From: Gerd Moellmann Date: Wed, 9 Aug 2000 18:39:58 +0000 (+0000) Subject: (Qredisplay_dont_pause): New variable. X-Git-Tag: emacs-pretest-21.0.90~2380 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e7067d00c2dc032251b45a7e82cbb9dcd9274adf;p=emacs.git (Qredisplay_dont_pause): New variable. (syms_of_display): Initialize and staticpro it. (update_frame_1): Don't interrupt the display for pending input if redisplay_dont_pause is set. --- diff --git a/src/dispnew.c b/src/dispnew.c index f2cd62094cf..d715e598f1f 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -241,7 +241,7 @@ Lisp_Object Vstandard_display_table; int cursor_in_echo_area; -Lisp_Object Qdisplay_table; +Lisp_Object Qdisplay_table, Qredisplay_dont_pause; /* The currently selected frame. In a single-frame version, this @@ -4695,8 +4695,9 @@ update_frame_1 (f, force_p, inhibit_id_p) if (preempt_count <= 0) preempt_count = 1; - detect_input_pending (); - if (input_pending && !force_p) + if (redisplay_dont_pause) + force_p = 1; + else if (!force_p && detect_input_pending ()) { pause = 1; goto do_pause; @@ -6225,6 +6226,8 @@ syms_of_display () Qdisplay_table = intern ("display-table"); staticpro (&Qdisplay_table); + Qredisplay_dont_pause = intern ("redisplay-dont-pause"); + staticpro (&Qredisplay_dont_pause); DEFVAR_INT ("baud-rate", &baud_rate, "*The output baud rate of the terminal.\n\