]> git.eshelyaron.com Git - emacs.git/commitdiff
Fixes: debbugs:12090
authorAndreas Schwab <schwab@linux-m68k.org>
Mon, 30 Jul 2012 07:45:58 +0000 (09:45 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Mon, 30 Jul 2012 07:45:58 +0000 (09:45 +0200)
* keymap.c (Fkey_description): Don't remove 0x80 bit from
non-single-byte char when adding meta modifier.

src/ChangeLog
src/keymap.c

index 41d7759cfb5107856024129afcc5a99b3759da3a..e8aff22c2cb3322c4232752082c0d0f60762c322 100644 (file)
@@ -1,3 +1,8 @@
+2012-07-30  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * keymap.c (Fkey_description): Don't remove 0x80 bit from
+       non-single-byte char when adding meta modifier.  (Bug#12090)
+
 2012-07-30  Dmitry Antipov  <dmantipov@yandex.ru>
 
        Convert safe_call to use variable number of arguments.
index 6cc7670054260c68cfa544fe8c26d3b330786942..3c5d45b0680d93d1d34fa8b0ee362a7b9ead4402 100644 (file)
@@ -2141,7 +2141,7 @@ The `kbd' macro is an approximate inverse of this.  */)
                continue;
            }
          else
-           XSETINT (key, (XINT (key) | meta_modifier) & ~0x80);
+           XSETINT (key, XINT (key) | meta_modifier);
          add_meta = 0;
        }
       else if (EQ (key, meta_prefix_char))