From 07fb592eadf294f0cc97ebf4de0afd4b02815faf Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 21 Jul 2012 17:11:33 +0300 Subject: [PATCH] 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. --- src/ChangeLog | 5 +++++ src/keyboard.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index e120edab05..5f75c69b96 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,10 @@ 2012-07-21 Eli Zaretskii + * 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 . diff --git a/src/keyboard.c b/src/keyboard.c index 5e6dca64a9..0c03a2143d 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -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. -- 2.20.1