projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5b4bd6
)
(Fkey_description): Fix corner (bug#59305)
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 6 May 2024 15:19:11 +0000
(11:19 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Mon, 6 May 2024 15:19:11 +0000
(11:19 -0400)
* src/keymap.c (Fkey_description): Don't mistake latin-1 chars for
ASCII-chars-with-meta.
src/keymap.c
patch
|
blob
|
history
diff --git
a/src/keymap.c
b/src/keymap.c
index 10378767c65fe0bc3183cd5f7aa748e8cf8bb7dc..b9d8d18931d7f8a50614f890bca8477ccad36058 100644
(file)
--- 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);
}