aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorStefan Monnier2014-12-17 17:08:07 -0500
committerStefan Monnier2014-12-17 17:08:07 -0500
commitec10ba2792eef613caf47fff83e869d4bc177616 (patch)
tree1c16a8df5eb677cbbc696284df6ce8c8d16a69aa /src/process.c
parent92bad2aa0589d837e48af58f09134b48b32cfbb7 (diff)
downloademacs-ec10ba2792eef613caf47fff83e869d4bc177616.tar.gz
emacs-ec10ba2792eef613caf47fff83e869d4bc177616.zip
* src/keyboard.c (swallow_events): Don't redisplay if there's input pending.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c
index e59ca5863d5..c58ae3efd28 100644
--- a/src/process.c
+++ b/src/process.c
@@ -4473,7 +4473,7 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd,
4473 && ! EQ (wait_proc->status, Qrun) 4473 && ! EQ (wait_proc->status, Qrun)
4474 && ! EQ (wait_proc->status, Qconnect)) 4474 && ! EQ (wait_proc->status, Qconnect))
4475 { 4475 {
4476 bool read_some_bytes = 0; 4476 bool read_some_bytes = false;
4477 4477
4478 clear_waiting_for_input (); 4478 clear_waiting_for_input ();
4479 XSETPROCESS (proc, wait_proc); 4479 XSETPROCESS (proc, wait_proc);
@@ -4689,13 +4689,13 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd,
4689 unsigned old_timers_run = timers_run; 4689 unsigned old_timers_run = timers_run;
4690 struct buffer *old_buffer = current_buffer; 4690 struct buffer *old_buffer = current_buffer;
4691 Lisp_Object old_window = selected_window; 4691 Lisp_Object old_window = selected_window;
4692 bool leave = 0; 4692 bool leave = false;
4693 4693
4694 if (detect_input_pending_run_timers (do_display)) 4694 if (detect_input_pending_run_timers (do_display))
4695 { 4695 {
4696 swallow_events (do_display); 4696 swallow_events (do_display);
4697 if (detect_input_pending_run_timers (do_display)) 4697 if (detect_input_pending_run_timers (do_display))
4698 leave = 1; 4698 leave = true;
4699 } 4699 }
4700 4700
4701 /* If a timer has run, this might have changed buffers 4701 /* If a timer has run, this might have changed buffers