Mercurial > emacs
comparison src/coding.c @ 83409:be1f74bffc1d
Fix "first non-ASCII character on new tty frames" problem.
* src/keyboard.c (kbd_buffer_store_event_hold): Simplify condition.
(read_key_sequence): Reinitialize fkey and keytran at each replay.
* src/coding.c (Fkeyboard_coding_system): Update doc.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-449
| author | Karoly Lorentey <lorentey@elte.hu> |
|---|---|
| date | Mon, 12 Dec 2005 02:37:01 +0000 |
| parents | d84f940244dc |
| children | 14a4eb789b45 |
comparison
equal
deleted
inserted
replaced
| 83408:39bb10ce301a | 83409:be1f74bffc1d |
|---|---|
| 7409 return Qnil; | 7409 return Qnil; |
| 7410 } | 7410 } |
| 7411 | 7411 |
| 7412 DEFUN ("keyboard-coding-system", Fkeyboard_coding_system, | 7412 DEFUN ("keyboard-coding-system", Fkeyboard_coding_system, |
| 7413 Skeyboard_coding_system, 0, 1, 0, | 7413 Skeyboard_coding_system, 0, 1, 0, |
| 7414 doc: /* Return coding system specified for decoding keyboard input. */) | 7414 doc: /* Return coding system for decoding keyboard input on DEVICE. |
| 7415 DEVICE may be a display device id, a frame, or nil for the selected | |
| 7416 frame's display device. */) | |
| 7415 (device) | 7417 (device) |
| 7416 Lisp_Object device; | 7418 Lisp_Object device; |
| 7417 { | 7419 { |
| 7418 return DEVICE_KEYBOARD_CODING (get_device (device, 1))->symbol; | 7420 return DEVICE_KEYBOARD_CODING (get_device (device, 1))->symbol; |
| 7419 } | 7421 } |
