aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorStefan Monnier2010-03-05 18:08:18 -0500
committerStefan Monnier2010-03-05 18:08:18 -0500
commitc0335e02ec7778c10fa110d8953f15990110e04b (patch)
tree5590b260ef5def04995f56862de4cde46f19ef59 /src/bytecode.c
parente8defde36d0d4ab3dadd7f4a561a8c47ce110f9b (diff)
downloademacs-c0335e02ec7778c10fa110d8953f15990110e04b.tar.gz
emacs-c0335e02ec7778c10fa110d8953f15990110e04b.zip
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.
Diffstat (limited to 'src/bytecode.c')
-rw-r--r--src/bytecode.c1
1 files changed, 1 insertions, 0 deletions
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 ()
393 Fsignal (Qquit, Qnil); \ 393 Fsignal (Qquit, Qnil); \
394 AFTER_POTENTIAL_GC (); \ 394 AFTER_POTENTIAL_GC (); \
395 } \ 395 } \
396 ELSE_PENDING_SIGNALS \
396 } while (0) 397 } while (0)
397 398
398 399