Commit bca7646d authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(concat): Use Vnonascii_translate_table.

parent 80e01f8d
......@@ -586,7 +586,11 @@ concat (nargs, args, target_type, last_special)
&& 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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment