summaryrefslogtreecommitdiff
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2008-01-31 13:49:17 +0000
committerMiles Bader <miles@gnu.org>2008-01-31 13:49:17 +0000
commit6498c4b170e8a143f02913ec523e3b84ab11790c (patch)
tree1182b5d4a6adeb1c917df4c26972374ecd9fd2d1 /src/keyboard.c
parent4efcc8d152908c623a964d591c71bcce54541263 (diff)
parent94cc397c541f50af6b049af6c42806daa2be2709 (diff)
downloademacs-6498c4b170e8a143f02913ec523e3b84ab11790c.tar.gz
Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-328
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 0f7a49d3832..867a8d26024 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -2354,6 +2354,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