diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2024-05-06 11:19:11 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2024-05-06 11:19:11 -0400 |
commit | 5522cc7879a17cab28383c4b1cce611c78c28995 (patch) | |
tree | 8d65bc1876da1b98c822bf4e67cad624f3031062 /src | |
parent | c5b4bd69faf9e9af9d95f7c995fffb80a7fc47c9 (diff) | |
download | emacs-5522cc7879a17cab28383c4b1cce611c78c28995.tar.gz |
(Fkey_description): Fix corner (bug#59305)
* src/keymap.c (Fkey_description): Don't mistake latin-1 chars for
ASCII-chars-with-meta.
Diffstat (limited to 'src')
-rw-r--r-- | src/keymap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keymap.c b/src/keymap.c index 10378767c65..b9d8d18931d 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -2125,7 +2125,7 @@ For an approximate inverse of this, see `kbd'. */) if (STRINGP (list)) { int c = fetch_string_char_advance (list, &i, &i_byte); - if (SINGLE_BYTE_CHAR_P (c) && (c & 0200)) + if (!STRING_MULTIBYTE (list) && (c & 0200)) c ^= 0200 | meta_modifier; key = make_fixnum (c); } |