Lisp_Object Qcomposition;
Lisp_Object Q_decomposition;
Lisp_Object Qto_ucs;
+Lisp_Object Q_ucs;
Lisp_Object Q_ucs_variants;
Lisp_Object Qcompat;
Lisp_Object Qisolated;
{
if (EQ (range, Qt))
outrange->type = CHARTAB_RANGE_ALL;
-#ifdef UTF2000
else if (EQ (range, Qnil))
outrange->type = CHARTAB_RANGE_DEFAULT;
-#endif
else if (CHAR_OR_CHAR_INTP (range))
{
outrange->type = CHARTAB_RANGE_CHAR;
}
else if (EQ (attribute, Q_decomposition))
put_char_composition (character, value);
- else if (EQ (attribute, Qto_ucs))
+ else if (EQ (attribute, Qto_ucs) || EQ (attribute, Q_ucs))
{
Lisp_Object ret;
Emchar c;
Fput_char_attribute (make_char (c), Q_ucs_variants,
Fcons (character, ret));
}
+#if 0
+ if (EQ (attribute, Q_ucs))
+ attribute = Qto_ucs;
+#endif
}
#if 0
else if (EQ (attribute, Qideographic_structure))
}
rest = Fcdr (rest);
}
- if ( (!NILP (code = Fcdr (Fassq (Qto_ucs, attributes)))) )
+ if ( (!NILP (code = Fcdr (Fassq (Qto_ucs, attributes)))) ||
+ (!NILP (code = Fcdr (Fassq (Q_ucs, attributes)))) )
+
{
if (!INTP (code))
signal_simple_error ("Invalid argument", attributes);
}
rest = Fcdr (rest);
}
- if ( (!NILP (code = Fcdr (Fassq (Qto_ucs, attributes)))) )
+ if ( (!NILP (code = Fcdr (Fassq (Qto_ucs, attributes)))) ||
+ (!NILP (code = Fcdr (Fassq (Q_ucs, attributes)))) )
{
if (!INTP (code))
signal_simple_error ("Invalid argument", attributes);
defsymbol (&Qsystem_char_id, "system-char-id");
defsymbol (&Qto_ucs, "=>ucs");
+ defsymbol (&Q_ucs, "->ucs");
defsymbol (&Q_ucs_variants, "->ucs-variants");
defsymbol (&Qcomposition, "composition");
defsymbol (&Q_decomposition, "->decomposition");