From d3c004965bb440bdb595e60a57176bd3ad3616f7 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Thu, 25 Feb 1999 08:43:17 +0000 Subject: [PATCH] (push_key_description): If enable-multibyte-characters is nil and C is single byte, push C as is. --- src/keymap.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/keymap.c b/src/keymap.c index 865e8dd3202..612e34773ef 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -1850,7 +1850,9 @@ push_key_description (c, p) *p++ = 'P'; *p++ = 'C'; } - else if (c < 128) + else if (c < 128 + || (NILP (current_buffer->enable_multibyte_characters) + && SINGLE_BYTE_CHAR_P (c))) *p++ = c; else { -- 2.39.2