From: Eli Zaretskii Date: Sat, 21 Jul 2012 14:11:33 +0000 (+0300) Subject: Bind language-change in special-event-map. X-Git-Tag: emacs-24.2.90~1108 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=07fb592eadf294f0cc97ebf4de0afd4b02815faf;p=emacs.git 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. --- diff --git a/src/ChangeLog b/src/ChangeLog index e120edab056..5f75c69b96a 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 5e6dca64a92..0c03a2143d8 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.