mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-25 14:27:34 +00:00
(read_key_sequence): Fix downcasing of letters with
modifiers.
This commit is contained in:
parent
f50201817b
commit
a864f6d690
2 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
2008-03-16 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* keyboard.c (read_key_sequence): Fix downcasing of letters with
|
||||
modifiers.
|
||||
|
||||
* regex.c (re_match_2_internal): Correct matching of a charset
|
||||
against latin-1 characters.
|
||||
|
||||
|
|
|
|||
|
|
@ -10105,7 +10105,7 @@ read_key_sequence (keybuf, bufsize, prompt, dont_downcase_last,
|
|||
XSETINT (new_key, XINT (key) & ~shift_modifier);
|
||||
else
|
||||
XSETINT (new_key, (DOWNCASE (XINT (key) & ~CHAR_MODIFIER_MASK)
|
||||
| (XINT (key) & ~CHAR_MODIFIER_MASK)));
|
||||
| (XINT (key) & CHAR_MODIFIER_MASK)));
|
||||
|
||||
/* We have to do this unconditionally, regardless of whether
|
||||
the lower-case char is defined in the keymaps, because they
|
||||
|
|
|
|||
Loading…
Reference in a new issue