From: Jason Rumney Date: Mon, 17 May 2004 20:09:39 +0000 (+0000) Subject: (kbd_buffer_get_event): Don't use event->code and X-Git-Tag: ttn-vms-21-2-B4~6181 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d352abdf01564e6e512db5c2b8aaecdf37826cd8;p=emacs.git (kbd_buffer_get_event): Don't use event->code and modifiers in language change event. --- diff --git a/src/keyboard.c b/src/keyboard.c index b9e455a4431..15a16150ee8 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -3967,9 +3967,7 @@ kbd_buffer_get_event (kbp, used_mouse_menu) else if (event->kind == LANGUAGE_CHANGE_EVENT) { /* Make an event (language-change (FRAME CHARSET LCID)). */ - obj = Fcons (event->modifiers, Qnil); - obj = Fcons (event->code, obj); - obj = Fcons (event->frame_or_window, obj); + obj = Fcons (event->frame_or_window, Qnil); obj = Fcons (Qlanguage_change, Fcons (obj, Qnil)); kbd_fetch_ptr = event + 1; }