diff options
| author | Stefan Monnier | 2010-03-05 18:08:18 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2010-03-05 18:08:18 -0500 |
| commit | c0335e02ec7778c10fa110d8953f15990110e04b (patch) | |
| tree | 5590b260ef5def04995f56862de4cde46f19ef59 /src/bytecode.c | |
| parent | e8defde36d0d4ab3dadd7f4a561a8c47ce110f9b (diff) | |
| download | emacs-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.c | 1 |
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 | ||