diff options
| author | Kenichi Handa | 2010-04-26 21:02:08 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2010-04-26 21:02:08 +0900 |
| commit | fcebfc6a34b6b21435fdbe7e68269de6088d55c2 (patch) | |
| tree | 99742b2c03cda09574cb3ba458c68c07cbdedd45 /src/composite.c | |
| parent | 39e2ad1b9fef5b0437ed18c77bd703003a2b8e54 (diff) | |
| download | emacs-fcebfc6a34b6b21435fdbe7e68269de6088d55c2.tar.gz emacs-fcebfc6a34b6b21435fdbe7e68269de6088d55c2.zip | |
composite.c (Ffind_composition_internal): Fix the return value for an automatic composition.
Diffstat (limited to 'src/composite.c')
| -rw-r--r-- | src/composite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/composite.c b/src/composite.c index 82f31ade4a7..c714b403309 100644 --- a/src/composite.c +++ b/src/composite.c | |||
| @@ -1674,7 +1674,7 @@ See `find-composition' for more details. */) | |||
| 1674 | 1674 | ||
| 1675 | if (find_automatic_composition (from, to, &s, &e, &gstring, string) | 1675 | if (find_automatic_composition (from, to, &s, &e, &gstring, string) |
| 1676 | && (e <= XINT (pos) ? e > end : s < start)) | 1676 | && (e <= XINT (pos) ? e > end : s < start)) |
| 1677 | return list3 (make_number (start), make_number (end), gstring); | 1677 | return list3 (make_number (s), make_number (e), gstring); |
| 1678 | } | 1678 | } |
| 1679 | if (!COMPOSITION_VALID_P (start, end, prop)) | 1679 | if (!COMPOSITION_VALID_P (start, end, prop)) |
| 1680 | return Fcons (make_number (start), Fcons (make_number (end), | 1680 | return Fcons (make_number (start), Fcons (make_number (end), |