aboutsummaryrefslogtreecommitdiffstats
path: root/src/blockinput.h
diff options
context:
space:
mode:
authorKim F. Storm2005-03-07 10:49:51 +0000
committerKim F. Storm2005-03-07 10:49:51 +0000
commit6bf40bf0223741f33380ccaf7d9da0458494f00c (patch)
tree0aa68f4606032d32cf403b5e4641eb0130d96340 /src/blockinput.h
parent2e87e8f20728c38be7028765178c721c384109fd (diff)
downloademacs-6bf40bf0223741f33380ccaf7d9da0458494f00c.tar.gz
emacs-6bf40bf0223741f33380ccaf7d9da0458494f00c.zip
(TOTALLY_UNBLOCK_INPUT): Avoid dangling else.
Diffstat (limited to 'src/blockinput.h')
-rw-r--r--src/blockinput.h4
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;
98 and also reinvoke any pending signal. */ 98 and also reinvoke any pending signal. */
99 99
100#define TOTALLY_UNBLOCK_INPUT \ 100#define TOTALLY_UNBLOCK_INPUT \
101 if (interrupt_input_blocked != 0) \ 101 do if (interrupt_input_blocked != 0) \
102 { \ 102 { \
103 interrupt_input_blocked = 1; \ 103 interrupt_input_blocked = 1; \
104 UNBLOCK_INPUT; \ 104 UNBLOCK_INPUT; \
105 } \ 105 } \
106 else 106 while (0)
107 107
108/* Undo any number of BLOCK_INPUT calls down to level LEVEL, 108/* Undo any number of BLOCK_INPUT calls down to level LEVEL,
109 and also (if the level is now 0) reinvoke any pending signal. */ 109 and also (if the level is now 0) reinvoke any pending signal. */