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

(concat): If Vnonascii_translation_table is non-nil, try

to convert a character less than 160 to multibyte.
parent c63e0d56
......@@ -709,7 +709,9 @@ concat (nargs, args, target_type, last_special)
else
{
XSETFASTINT (elt, XSTRING (this)->data[thisindex++]);
if (some_multibyte && XINT (elt) >= 0200
if (some_multibyte
&& (XINT (elt) >= 0240
|| ! NILP (Vnonascii_translation_table))
&& XINT (elt) < 0400)
{
c = unibyte_char_to_multibyte (XINT (elt));
......
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