From 26f1ab24262f4c6e42ffb35b11864f7c3af36756 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Thu, 29 Jan 2009 14:35:25 +0000 Subject: [PATCH] (QUIT): Check pending_signals instead of interrupt_input_pending. Use process_pending_signals. --- src/lisp.h | 8 ++++---- 1 file 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; 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 @@ extern int interrupt_input_pending; 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 */ -- 2.39.2