]> git.eshelyaron.com Git - emacs.git/commitdiff
Bind language-change in special-event-map.
authorEli Zaretskii <eliz@gnu.org>
Sat, 21 Jul 2012 14:11:33 +0000 (17:11 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 21 Jul 2012 14:11:33 +0000 (17:11 +0300)
 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
src/keyboard.c

index e120edab05624850eaf299a3f1a51dba22fc8763..5f75c69b96a0369eb479e103e8c370b647a1829d 100644 (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>.
index 5e6dca64a92e989fb12f477c6fac7a25fff0ba16..0c03a2143d824a7708a55dd639a6aaa18846dfb3 100644 (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.