From c0335e02ec7778c10fa110d8953f15990110e04b Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 5 Mar 2010 18:08:18 -0500 Subject: Make it possible to C-g in a tight bytecode loop again (bug#5680). * lisp.h (ELSE_PENDING_SIGNALS): New macro. (QUIT): Use it to consolidate code and remove redundancy. * bytecode.c (BYTE_CODE_QUIT): Use it as well. --- src/bytecode.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/bytecode.c') diff --git a/src/bytecode.c b/src/bytecode.c index 31df65fd303..e95614c72a9 100644 --- a/src/bytecode.c +++ b/src/bytecode.c @@ -393,6 +393,7 @@ unmark_byte_stack () Fsignal (Qquit, Qnil); \ AFTER_POTENTIAL_GC (); \ } \ + ELSE_PENDING_SIGNALS \ } while (0) -- cgit v1.2.1