changeset 101653:f2bc801a3377

(QUIT): Check pending_signals instead of interrupt_input_pending. Use process_pending_signals.
author Chong Yidong <cyd@stupidchicken.com>
date Thu, 29 Jan 2009 14:35:25 +0000
parents 09b98c9d2d96
children dd87d77f0959
files src/lisp.h
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/lisp.h	Thu Jan 29 14:35:14 2009 +0000
+++ b/src/lisp.h	Thu Jan 29 14:35:25 2009 +0000
@@ -1843,8 +1843,8 @@
    and (in particular) cannot call arbitrary Lisp code.  */
 
 #ifdef SYNC_INPUT
-extern void handle_async_input P_ ((void));
-extern int interrupt_input_pending;
+extern void process_pending_signals P_ ((void));
+extern int pending_signals;
 
 #define QUIT						\
   do {							\
@@ -1856,8 +1856,8 @@
 	  Fthrow (Vthrow_on_input, Qt);			\
 	Fsignal (Qquit, Qnil);				\
       }							\
-    else if (interrupt_input_pending)			\
-      handle_async_input ();				\
+    else if (pending_signals)				\
+      process_pending_signals ();			\
   } while (0)
 
 #else  /* not SYNC_INPUT */