diff src/fns.c @ 20880:4f6eebb11fc0

(concat): Use Vnonascii_translate_table.
author Kenichi Handa <handa@m17n.org>
date Tue, 10 Feb 1998 04:05:47 +0000
parents ad9e06c97d95
children fd35cf0efd94
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;