composition data area in coding even if there's no composition in
the current run.
Lisp_Object prop;
int start, end;
- coding->composing = COMPOSITION_DISABLED;
+ if (coding->composing == COMPOSITION_DISABLED)
+ return;
+ if (!coding->cmp_data)
+ coding_allocate_composition_data (coding, from);
if (!find_composition (from, to, &start, &end, &prop, obj)
|| end > to)
return;
|| end > to))
return;
coding->composing = COMPOSITION_NO;
- coding_allocate_composition_data (coding, from);
do
{
if (COMPOSITION_VALID_P (start, end, prop))