Mercurial > emacs
changeset 23765:1944b3595afd
(internal_self_insert): If C has modifier bits, insert
appropriate one byte char.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 26 Nov 1998 08:12:12 +0000 |
parents | 615a6a17e7d6 |
children | 5ee484eaf2bb |
files | src/cmds.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cmds.c Wed Nov 25 21:26:50 1998 +0000 +++ b/src/cmds.c Thu Nov 26 08:12:12 1998 +0000 @@ -354,6 +354,10 @@ { 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 {