]> git.eshelyaron.com Git - emacs.git/commitdiff
(INPUT_BLOCKED_P): New macro.
authorKim F. Storm <storm@cua.dk>
Mon, 17 May 2004 23:06:16 +0000 (23:06 +0000)
committerKim F. Storm <storm@cua.dk>
Mon, 17 May 2004 23:06:16 +0000 (23:06 +0000)
src/blockinput.h

index eba192c986335a673a04e6ab9ffd24c67060ea20..e9f2f3bc2171b3c5f3a31ce21d50afdb98562d84 100644 (file)
@@ -97,6 +97,9 @@ extern int pending_atimers;
 #define TOTALLY_UNBLOCK_INPUT (interrupt_input_blocked = 0)
 #define UNBLOCK_INPUT_RESIGNAL UNBLOCK_INPUT
 
+/* In critical section ? */
+#define INPUT_BLOCKED_P (interrupt_input_blocked > 0)
+
 /* Defined in keyboard.c */
 /* Don't use a prototype here; it causes trouble in some files.  */
 extern void reinvoke_input_signal ();