(make_ctrl_char): If C is a multibyte character, just

return it ORed with ctrl_modifier.
This commit is contained in:
Kenichi Handa 2008-01-31 06:42:01 +00:00
parent 72000816ad
commit a32aad64df
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2008-01-31 Kenichi Handa <handa@ni.aist.go.jp>
* keyboard.c (make_ctrl_char): If C is a multibyte character, just
return it ORed with ctrl_modifier.
2008-01-26 Thien-Thi Nguyen <ttn@gnuvola.org>
* fns.c (Fclrhash): Return TABLE.

View file

@ -2310,6 +2310,9 @@ make_ctrl_char (c)
/* 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