]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/eval.c (signal_quit_p): Fix the usual int/Lisp_Object mixup
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 21 Jul 2021 15:12:25 +0000 (11:12 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 21 Jul 2021 15:12:25 +0000 (11:12 -0400)
src/eval.c

index ddf7e703fc2eb05b363d02b8292163ab9ca80c89..48104bd0f45927a977dbb1222a3a02319311c39a 100644 (file)
@@ -2033,9 +2033,9 @@ signal_quit_p (Lisp_Object signal)
   Lisp_Object list;
 
   return EQ (signal, Qquit)
-    || (Fsymbolp (signal)
+    || (!NILP (Fsymbolp (signal))
        && CONSP (list = Fget (signal, Qerror_conditions))
-       && Fmemq (Qquit, list));
+       && !NILP (Fmemq (Qquit, list)));
 }
 
 /* Call the debugger if calling it is currently enabled for CONDITIONS.