summaryrefslogtreecommitdiff
path: root/src/keymap.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>1999-02-25 08:43:17 +0000
committerKenichi Handa <handa@m17n.org>1999-02-25 08:43:17 +0000
commitd3c004965bb440bdb595e60a57176bd3ad3616f7 (patch)
tree15019e0085aac076c5fdda1ff6d322e853381e63 /src/keymap.c
parent91978d00d1ee6ea12fd37291431fb5f29ef79405 (diff)
downloademacs-d3c004965bb440bdb595e60a57176bd3ad3616f7.tar.gz
(push_key_description): If enable-multibyte-characters
is nil and C is single byte, push C as is.
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c4
1 files changed, 3 insertions, 1 deletions
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
{