Mercurial > emacs
changeset 20880:4f6eebb11fc0
(concat): Use Vnonascii_translate_table.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 10 Feb 1998 04:05:47 +0000 |
parents | 64d2baa47498 |
children | fd35cf0efd94 |
files | src/fns.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fns.c Tue Feb 10 03:59:06 1998 +0000 +++ b/src/fns.c Tue Feb 10 04:05:47 1998 +0000 @@ -586,7 +586,11 @@ && XINT (elt) < 0400) { c = XINT (elt); - if (nonascii_insert_offset > 0) + + if (! NILP (Vnonascii_translate_table)) + c = XINT (Faref (Vnonascii_translate_table, + make_number (c))); + else if (nonascii_insert_offset > 0) c += nonascii_insert_offset; else c += DEFAULT_NONASCII_INSERT_OFFSET;