aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2009-01-29 14:35:25 +0000
committerChong Yidong2009-01-29 14:35:25 +0000
commit26f1ab24262f4c6e42ffb35b11864f7c3af36756 (patch)
treee3ee021f30db5bbe467633788cdd93fe003f7e0f /src
parentcf0d293c4007fa3c871b125e6ec6992ec8072251 (diff)
downloademacs-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.h8
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
1846extern void handle_async_input P_ ((void)); 1846extern void process_pending_signals P_ ((void));
1847extern int interrupt_input_pending; 1847extern 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 */