Mercurial > emacs
changeset 55658:0e26a0be1ee5
(INPUT_BLOCKED_P): New macro.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Mon, 17 May 2004 23:06:16 +0000 |
parents | 0bb4e9bca69b |
children | 4771569ccabb |
files | src/blockinput.h |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/blockinput.h Mon May 17 23:05:33 2004 +0000 +++ b/src/blockinput.h Mon May 17 23:06:16 2004 +0000 @@ -97,6 +97,9 @@ #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 ();