]> git.eshelyaron.com Git - emacs.git/commitdiff
(read_key_sequence): Fix downcasing of letters with
authorAndreas Schwab <schwab@suse.de>
Sun, 16 Mar 2008 11:24:35 +0000 (11:24 +0000)
committerAndreas Schwab <schwab@suse.de>
Sun, 16 Mar 2008 11:24:35 +0000 (11:24 +0000)
modifiers.

src/ChangeLog
src/keyboard.c

index 2b7e7f8e3c30e2f9aab1c9c8b59b537c463eef56..57e5d8311892bf7538711b1107f8c082be6d07e4 100644 (file)
@@ -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.
 
index 2acf6aaa3ccdf18a3df95147f38cef35e8a7d580..16b9006b15f397666149c4a7331d5459641ba2cc 100644 (file)
@@ -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