]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix Condition in kbd_buffer_store_buffered_event (bug#19547).
authorThierry Volpiatto <thierry.volpiatto@gmail.com>
Wed, 30 Nov 2016 20:22:04 +0000 (21:22 +0100)
committerThierry Volpiatto <thierry.volpiatto@gmail.com>
Wed, 30 Nov 2016 20:22:04 +0000 (21:22 +0100)
* src/keyboard.c (kbd_buffer_store_buffered_event): Should be NILP and not
!NILP.

src/keyboard.c

index e70140ca37598338d6e5c0c719ee67fa70b42db6..01b9b3c6ba28921cc129b6c5527cf3942b5cccdb 100644 (file)
@@ -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,