Bind language-change in special-event-map.

src/keyboard.c (keys_of_keyboard): Bind language-change to 'ignore'
 in special-event-map.  See the discussion at
 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00417.html
 for the reasons.
This commit is contained in:
Eli Zaretskii 2012-07-21 17:11:33 +03:00
parent 2d5c5f7da9
commit 07fb592ead
2 changed files with 9 additions and 0 deletions

View file

@ -1,5 +1,10 @@
2012-07-21 Eli Zaretskii <eliz@gnu.org>
* keyboard.c (keys_of_keyboard): Bind language-change to 'ignore'
in special-event-map. See the discussion at
http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00417.html
for the reasons.
* w32menu.c (add_menu_item): Cast to UINT_PTR when assigning
info.dwItemData. Fixes crashes on 64-bit Windows. Suggested by
Fabrice Popineau <fabrice.popineau@supelec.fr>.

View file

@ -12232,6 +12232,10 @@ keys_of_keyboard (void)
initial_define_lispy_key (Vspecial_event_map, "config-changed-event",
"ignore");
#if defined (WINDOWSNT)
initial_define_lispy_key (Vspecial_event_map, "language-change",
"ignore");
#endif
}
/* Mark the pointers in the kboard objects.