Mercurial > emacs
diff src/keyboard.c @ 5078:698acfd3faa3
(follow_key): When downcasing, downcase just the
basic part of the character, and preserve the modifier bits.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Sat, 20 Nov 1993 05:17:44 +0000 |
| parents | a928c879b7ea |
| children | 16fe8285dc2a |
line wrap: on
line diff
--- a/src/keyboard.c Sat Nov 20 04:14:34 1993 +0000 +++ b/src/keyboard.c Sat Nov 20 05:17:44 1993 +0000 @@ -3659,7 +3659,8 @@ if (XINT (key) & shift_modifier) XSETINT (key, XINT (key) & ~shift_modifier); else - XSETINT (key, DOWNCASE (XINT (key))); + XSETINT (key, (DOWNCASE (XINT (key) & 0x3ffff) + | (XINT (key) & ~0x3ffff))); first_binding = nmaps; for (i = nmaps - 1; i >= 0; i--)
