comparison src/keyboard.c @ 88093:fa454b3c5b7b

Merge from emacs--rel--22 Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1028
author Miles Bader <miles@gnu.org>
date Thu, 31 Jan 2008 11:35:46 +0000
parents 215c19bb6020 32ed10f8d198
children f38e85dfd4e3
comparison
equal deleted inserted replaced
88092:7fe1dca6c680 88093:fa454b3c5b7b
2352 int c; 2352 int c;
2353 { 2353 {
2354 /* Save the upper bits here. */ 2354 /* Save the upper bits here. */
2355 int upper = c & ~0177; 2355 int upper = c & ~0177;
2356 2356
2357 if (! ASCII_BYTE_P (c))
2358 return c |= ctrl_modifier;
2359
2357 c &= 0177; 2360 c &= 0177;
2358 2361
2359 /* Everything in the columns containing the upper-case letters 2362 /* Everything in the columns containing the upper-case letters
2360 denotes a control character. */ 2363 denotes a control character. */
2361 if (c >= 0100 && c < 0140) 2364 if (c >= 0100 && c < 0140)