aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index ad5c2492ccb..e23034e4d56 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1179,6 +1179,10 @@ command_loop_1 ()
1179 i = read_key_sequence (keybuf, sizeof keybuf / sizeof keybuf[0], 1179 i = read_key_sequence (keybuf, sizeof keybuf / sizeof keybuf[0],
1180 Qnil, 0, 1); 1180 Qnil, 0, 1);
1181 1181
1182 /* A filter may have run while we were reading the input. */
1183 if (XBUFFER (XWINDOW (selected_window)->buffer) != current_buffer)
1184 set_buffer_internal (XBUFFER (XWINDOW (selected_window)->buffer));
1185
1182 ++num_input_keys; 1186 ++num_input_keys;
1183 1187
1184 /* Now we have read a key sequence of length I, 1188 /* Now we have read a key sequence of length I,