HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83410c2
)
(command_loop_1): Update selected buffer again after read_key_sequence.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 2 Nov 1996 17:20:55 +0000
(17:20 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 2 Nov 1996 17:20:55 +0000
(17:20 +0000)
src/keyboard.c
patch
|
blob
|
blame
|
history
diff --git
a/src/keyboard.c
b/src/keyboard.c
index
ad5c249
..
e23034e
100644
(file)
--- a/
src/keyboard.c
+++ b/
src/keyboard.c
@@
-1179,6
+1179,10
@@
command_loop_1 ()
i = read_key_sequence (keybuf, sizeof keybuf / sizeof keybuf[0],
Qnil, 0, 1);
+ /* A filter may have run while we were reading the input. */
+ if (XBUFFER (XWINDOW (selected_window)->buffer) != current_buffer)
+ set_buffer_internal (XBUFFER (XWINDOW (selected_window)->buffer));
+
++num_input_keys;
/* Now we have read a key sequence of length I,