diff options
author | Kim F. Storm <storm@cua.dk> | 2005-03-07 10:49:51 +0000 |
---|---|---|
committer | Kim F. Storm <storm@cua.dk> | 2005-03-07 10:49:51 +0000 |
commit | d546719f0542a6aea218565277ba28b06c3caff5 (patch) | |
tree | 5a1bbd2a2d9bbc2020bb5017776533598ce75322 /src/blockinput.h | |
parent | 87b1a04d400b753783475a4a67fcde949ce35081 (diff) | |
download | emacs-d546719f0542a6aea218565277ba28b06c3caff5.tar.gz |
(TOTALLY_UNBLOCK_INPUT): Avoid dangling else.
Diffstat (limited to 'src/blockinput.h')
-rw-r--r-- | src/blockinput.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blockinput.h b/src/blockinput.h index 74ef7603f40..6aa865ea9be 100644 --- a/src/blockinput.h +++ b/src/blockinput.h @@ -98,12 +98,12 @@ extern int pending_atimers; and also reinvoke any pending signal. */ #define TOTALLY_UNBLOCK_INPUT \ - if (interrupt_input_blocked != 0) \ + do if (interrupt_input_blocked != 0) \ { \ interrupt_input_blocked = 1; \ UNBLOCK_INPUT; \ } \ - else + while (0) /* Undo any number of BLOCK_INPUT calls down to level LEVEL, and also (if the level is now 0) reinvoke any pending signal. */ |