diff options
| author | Andreas Schwab | 2005-03-07 01:54:13 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2005-03-07 01:54:13 +0000 |
| commit | c71fd7b702190b66fc4de6e66192c71aea401f10 (patch) | |
| tree | 8ca5c67182e250152cb89c779f98f88e8355931b /src | |
| parent | 285d5fe65bf1e773db6c852d9948c476996a69a2 (diff) | |
| download | emacs-c71fd7b702190b66fc4de6e66192c71aea401f10.tar.gz emacs-c71fd7b702190b66fc4de6e66192c71aea401f10.zip | |
(UNBLOCK_INPUT_TO): Always call UNBLOCK_INPUT.
Diffstat (limited to 'src')
| -rw-r--r-- | src/blockinput.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/blockinput.h b/src/blockinput.h index a3b50d2a0f2..74ef7603f40 100644 --- a/src/blockinput.h +++ b/src/blockinput.h | |||
| @@ -111,10 +111,8 @@ extern int pending_atimers; | |||
| 111 | #define UNBLOCK_INPUT_TO(LEVEL) \ | 111 | #define UNBLOCK_INPUT_TO(LEVEL) \ |
| 112 | do \ | 112 | do \ |
| 113 | { \ | 113 | { \ |
| 114 | int oldlevel = interrupt_input_blocked; \ | ||
| 115 | interrupt_input_blocked = (LEVEL) + 1; \ | 114 | interrupt_input_blocked = (LEVEL) + 1; \ |
| 116 | if (interrupt_input_blocked != oldlevel + 1) \ | 115 | UNBLOCK_INPUT; \ |
| 117 | UNBLOCK_INPUT; \ | ||
| 118 | } \ | 116 | } \ |
| 119 | while (0) | 117 | while (0) |
| 120 | 118 | ||