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.
This commit is contained in:
Stefan Monnier
2010-03-05 18:08:18 -05:00
parent e8defde36d
commit c0335e02ec
3 changed files with 12 additions and 17 deletions

View File

@@ -393,6 +393,7 @@ unmark_byte_stack ()
Fsignal (Qquit, Qnil); \
AFTER_POTENTIAL_GC (); \
} \
ELSE_PENDING_SIGNALS \
} while (0)