otherwise. */
mark = get_mark ();
+ TEXTCONV_DEBUG ("the mark is: %zd", mark);
if (MARKERP (f->conversion.compose_region_start) || mark != -1)
{
/* Replace its contents. Set START and END to the start and end
end = max (mark, PT);
}
+ TEXTCONV_DEBUG ("replacing text in composing region: %zd, %zd",
+ start, end);
+
/* If it transpires that the start of the compose region is not
point, move point there. */
{
TEXTCONV_DEBUG ("confined composing region to %td, %td",
newstart, newend);
- Fset_marker (f->conversion.compose_region_end,
+ Fset_marker (f->conversion.compose_region_start,
make_fixed_natnum (newstart), Qnil);
Fset_marker (f->conversion.compose_region_end,
make_fixed_natnum (newend), Qnil);