Mercurial > emacs
comparison src/keymap.c @ 34765:bb3103d4e94d
(push_key_description): Don't convert eight-bit-control
and eight-bit-graphic to multibyte character.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Thu, 21 Dec 2000 01:58:28 +0000 |
| parents | 1e3d0f2d1145 |
| children | 333a490b6ebc |
comparison
equal
deleted
inserted
replaced
| 34764:14e6e9496603 | 34765:bb3103d4e94d |
|---|---|
| 1861 || (NILP (current_buffer->enable_multibyte_characters) | 1861 || (NILP (current_buffer->enable_multibyte_characters) |
| 1862 && SINGLE_BYTE_CHAR_P (c))) | 1862 && SINGLE_BYTE_CHAR_P (c))) |
| 1863 *p++ = c; | 1863 *p++ = c; |
| 1864 else | 1864 else |
| 1865 { | 1865 { |
| 1866 if (! NILP (current_buffer->enable_multibyte_characters)) | |
| 1867 c = unibyte_char_to_multibyte (c); | |
| 1868 | |
| 1869 if (NILP (current_buffer->enable_multibyte_characters) | 1866 if (NILP (current_buffer->enable_multibyte_characters) |
| 1870 || SINGLE_BYTE_CHAR_P (c) | 1867 || SINGLE_BYTE_CHAR_P (c) |
| 1871 || ! char_valid_p (c, 0)) | 1868 || ! char_valid_p (c, 0)) |
| 1872 { | 1869 { |
| 1873 int bit_offset; | 1870 int bit_offset; |
