diff options
| author | Chong Yidong | 2009-01-29 14:35:25 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-01-29 14:35:25 +0000 |
| commit | 26f1ab24262f4c6e42ffb35b11864f7c3af36756 (patch) | |
| tree | e3ee021f30db5bbe467633788cdd93fe003f7e0f /src | |
| parent | cf0d293c4007fa3c871b125e6ec6992ec8072251 (diff) | |
| download | emacs-26f1ab24262f4c6e42ffb35b11864f7c3af36756.tar.gz emacs-26f1ab24262f4c6e42ffb35b11864f7c3af36756.zip | |
(QUIT): Check pending_signals instead of interrupt_input_pending. Use
process_pending_signals.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lisp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lisp.h b/src/lisp.h index 8579516595e..ea34e83629f 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -1843,8 +1843,8 @@ extern char *stack_bottom; | |||
| 1843 | and (in particular) cannot call arbitrary Lisp code. */ | 1843 | and (in particular) cannot call arbitrary Lisp code. */ |
| 1844 | 1844 | ||
| 1845 | #ifdef SYNC_INPUT | 1845 | #ifdef SYNC_INPUT |
| 1846 | extern void handle_async_input P_ ((void)); | 1846 | extern void process_pending_signals P_ ((void)); |
| 1847 | extern int interrupt_input_pending; | 1847 | extern int pending_signals; |
| 1848 | 1848 | ||
| 1849 | #define QUIT \ | 1849 | #define QUIT \ |
| 1850 | do { \ | 1850 | do { \ |
| @@ -1856,8 +1856,8 @@ extern int interrupt_input_pending; | |||
| 1856 | Fthrow (Vthrow_on_input, Qt); \ | 1856 | Fthrow (Vthrow_on_input, Qt); \ |
| 1857 | Fsignal (Qquit, Qnil); \ | 1857 | Fsignal (Qquit, Qnil); \ |
| 1858 | } \ | 1858 | } \ |
| 1859 | else if (interrupt_input_pending) \ | 1859 | else if (pending_signals) \ |
| 1860 | handle_async_input (); \ | 1860 | process_pending_signals (); \ |
| 1861 | } while (0) | 1861 | } while (0) |
| 1862 | 1862 | ||
| 1863 | #else /* not SYNC_INPUT */ | 1863 | #else /* not SYNC_INPUT */ |