Mercurial > emacs
diff src/keyboard.c @ 55639:b5168ee835cb
(kbd_buffer_get_event): Don't use event->code and
modifiers in language change event.
| author | Jason Rumney <jasonr@gnu.org> |
|---|---|
| date | Mon, 17 May 2004 20:09:39 +0000 |
| parents | 2f83cdfb90f6 |
| children | 4771569ccabb |
line wrap: on
line diff
--- a/src/keyboard.c Mon May 17 18:57:23 2004 +0000 +++ b/src/keyboard.c Mon May 17 20:09:39 2004 +0000 @@ -3967,9 +3967,7 @@ 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; }
