Mercurial > emacs
changeset 79972:32ed10f8d198
(make_ctrl_char): If C is a multibyte character, just
return it ORed with ctrl_modifier.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 31 Jan 2008 06:39:13 +0000 |
parents | ed9fe27f6139 |
children | e022821e73e9 |
files | src/keyboard.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/keyboard.c Thu Jan 31 01:40:20 2008 +0000 +++ b/src/keyboard.c Thu Jan 31 06:39:13 2008 +0000 @@ -2310,6 +2310,9 @@ /* Save the upper bits here. */ int upper = c & ~0177; + if (! ASCII_BYTE_P (c)) + return c |= ctrl_modifier; + c &= 0177; /* Everything in the columns containing the upper-case letters