keyboard.c (read_char): Return after executing from special map.

This commit is contained in:
Jan Djärv 2010-01-12 09:12:52 +01:00
parent 893db5bcf0
commit 60abb2870b
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2010-01-12 Jan Djärv <jan.h.d@swipnet.se>
* keyboard.c (read_char): Return after executing from special map.
2010-01-12 Glenn Morris <rgm@gnu.org>
* emacs.c (REPORT_EMACS_BUG_PRETEST_ADDRESS): Set it to

View file

@ -3178,7 +3178,10 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu, end_time)
unbind_to (count, Qnil);
#endif
goto retry;
/* The command may have changed the keymaps. Pretend there is input
in another keyboard and return. This will recalculate keymaps. */
c = make_number (-2);
goto exit;
}
/* Handle things that only apply to characters. */