aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa1998-08-31 03:50:17 +0000
committerKenichi Handa1998-08-31 03:50:17 +0000
commite0e25273d2f53f155ca0bd183db9e148f6f3cd6c (patch)
tree5bccbee1aca930400de7510256b5410b82c9e9b8 /src
parentc63e0d56d5e40416f7fbad2832ae02a327802c60 (diff)
downloademacs-e0e25273d2f53f155ca0bd183db9e148f6f3cd6c.tar.gz
emacs-e0e25273d2f53f155ca0bd183db9e148f6f3cd6c.zip
(concat): If Vnonascii_translation_table is non-nil, try
to convert a character less than 160 to multibyte.
Diffstat (limited to 'src')
-rw-r--r--src/fns.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fns.c b/src/fns.c
index a4a3fb882a9..f0a387ecd21 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -709,7 +709,9 @@ concat (nargs, args, target_type, last_special)
709 else 709 else
710 { 710 {
711 XSETFASTINT (elt, XSTRING (this)->data[thisindex++]); 711 XSETFASTINT (elt, XSTRING (this)->data[thisindex++]);
712 if (some_multibyte && XINT (elt) >= 0200 712 if (some_multibyte
713 && (XINT (elt) >= 0240
714 || ! NILP (Vnonascii_translation_table))
713 && XINT (elt) < 0400) 715 && XINT (elt) < 0400)
714 { 716 {
715 c = unibyte_char_to_multibyte (XINT (elt)); 717 c = unibyte_char_to_multibyte (XINT (elt));