diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 31137ffc679..bf083c23d66 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -1234,6 +1234,10 @@ command_loop () | |||
| 1234 | while (1) | 1234 | while (1) |
| 1235 | { | 1235 | { |
| 1236 | internal_catch (Qtop_level, top_level_1, Qnil); | 1236 | internal_catch (Qtop_level, top_level_1, Qnil); |
| 1237 | /* Reset single_kboard in case top-level set it while | ||
| 1238 | evaluating an -f option, or we are stuck there for some | ||
| 1239 | other reason. */ | ||
| 1240 | any_kboard_state (); | ||
| 1237 | internal_catch (Qtop_level, command_loop_2, Qnil); | 1241 | internal_catch (Qtop_level, command_loop_2, Qnil); |
| 1238 | executing_macro = Qnil; | 1242 | executing_macro = Qnil; |
| 1239 | 1243 | ||