mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-01 11:20:41 -08:00
(concat): If Vnonascii_translation_table is non-nil, try
to convert a character less than 160 to multibyte.
This commit is contained in:
parent
c63e0d56d5
commit
e0e25273d2
1 changed files with 3 additions and 1 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue