diff options
| author | Gerd Moellmann | 2000-08-09 18:39:58 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-08-09 18:39:58 +0000 |
| commit | e7067d00c2dc032251b45a7e82cbb9dcd9274adf (patch) | |
| tree | 0af3c4154ec15e78c9bdf3f14c9d6503db9bc1ed | |
| parent | 5cda4b07fac74073c254e99a083867fa38e894c4 (diff) | |
| download | emacs-e7067d00c2dc032251b45a7e82cbb9dcd9274adf.tar.gz emacs-e7067d00c2dc032251b45a7e82cbb9dcd9274adf.zip | |
(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.
| -rw-r--r-- | src/dispnew.c | 9 |
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 | ||
| 242 | int cursor_in_echo_area; | 242 | int cursor_in_echo_area; |
| 243 | 243 | ||
| 244 | Lisp_Object Qdisplay_table; | 244 | Lisp_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\ |