aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c9
1 files changed, 6 insertions, 3 deletions
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;
241 241
242int cursor_in_echo_area; 242int cursor_in_echo_area;
243 243
244Lisp_Object Qdisplay_table; 244Lisp_Object Qdisplay_table, Qredisplay_dont_pause;
245 245
246 246
247/* The currently selected frame. In a single-frame version, this 247/* The currently selected frame. In a single-frame version, this
@@ -4695,8 +4695,9 @@ update_frame_1 (f, force_p, inhibit_id_p)
4695 if (preempt_count <= 0) 4695 if (preempt_count <= 0)
4696 preempt_count = 1; 4696 preempt_count = 1;
4697 4697
4698 detect_input_pending (); 4698 if (redisplay_dont_pause)
4699 if (input_pending && !force_p) 4699 force_p = 1;
4700 else if (!force_p && detect_input_pending ())
4700 { 4701 {
4701 pause = 1; 4702 pause = 1;
4702 goto do_pause; 4703 goto do_pause;
@@ -6225,6 +6226,8 @@ syms_of_display ()
6225 6226
6226 Qdisplay_table = intern ("display-table"); 6227 Qdisplay_table = intern ("display-table");
6227 staticpro (&Qdisplay_table); 6228 staticpro (&Qdisplay_table);
6229 Qredisplay_dont_pause = intern ("redisplay-dont-pause");
6230 staticpro (&Qredisplay_dont_pause);
6228 6231
6229 DEFVAR_INT ("baud-rate", &baud_rate, 6232 DEFVAR_INT ("baud-rate", &baud_rate,
6230 "*The output baud rate of the terminal.\n\ 6233 "*The output baud rate of the terminal.\n\