Commit fcebfc6a authored by Kenichi Handa's avatar Kenichi Handa

composite.c (Ffind_composition_internal): Fix the return value for an automatic composition.

parent 39e2ad1b
2010-04-26 Kenichi Handa <handa@m17n.org>
* composite.c (Ffind_composition_internal): Fix the return value
for an automatic composition.
2010-04-25 Dan Nicolaescu <dann@ics.uci.edu>
Remove all NO_ARG_ARRAY uses.
......
......@@ -1674,7 +1674,7 @@ See `find-composition' for more details. */)
if (find_automatic_composition (from, to, &s, &e, &gstring, string)
&& (e <= XINT (pos) ? e > end : s < start))
return list3 (make_number (start), make_number (end), gstring);
return list3 (make_number (s), make_number (e), gstring);
}
if (!COMPOSITION_VALID_P (start, end, prop))
return Fcons (make_number (start), Fcons (make_number (end),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment