1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-21 18:23:59 +00:00

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

This commit is contained in:
Kenichi Handa 2010-04-26 21:02:08 +09:00
parent 39e2ad1b9f
commit fcebfc6a34
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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),