]> git.eshelyaron.com Git - emacs.git/commitdiff
(internal_self_insert): If C has modifier bits, insert
authorKenichi Handa <handa@m17n.org>
Thu, 26 Nov 1998 08:12:12 +0000 (08:12 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 26 Nov 1998 08:12:12 +0000 (08:12 +0000)
appropriate one byte char.

src/cmds.c

index c6a94b1f3b8b446338e872fa901895c6d3b3e57f..c1f92c745f67f066e46d82c32c0cbaa5bffdde04 100644 (file)
@@ -354,6 +354,10 @@ internal_self_insert (c, noautofill)
     {
       c = unibyte_char_to_multibyte (c);
       len = CHAR_STRING (c, workbuf, str);
+      if (len == 1)
+       /* If C has modifier bits, this makes C an appropriate
+           one-byte char.  */
+       c = *str;
     }
   else
     {