From 319bafc9b28bd5bffb92a97a8ab53b9a3b97e6fd Mon Sep 17 00:00:00 2001 From: Thierry Volpiatto Date: Wed, 30 Nov 2016 21:22:04 +0100 Subject: [PATCH] Fix Condition in kbd_buffer_store_buffered_event (bug#19547). * src/keyboard.c (kbd_buffer_store_buffered_event): Should be NILP and not !NILP. --- src/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keyboard.c b/src/keyboard.c index e70140ca375..01b9b3c6ba2 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -3583,7 +3583,7 @@ kbd_buffer_store_buffered_event (union buffered_input_event *event, /* If we're inside while-no-input, and this event qualifies as input, set quit-flag to cause an interrupt. */ if (!NILP (Vthrow_on_input) - && !NILP (Fmemq (ignore_event, Vwhile_no_input_ignore_events))) + && NILP (Fmemq (ignore_event, Vwhile_no_input_ignore_events))) { Vquit_flag = Vthrow_on_input; /* If we're inside a function that wants immediate quits, -- 2.39.5