diff options
Diffstat (limited to 'src/composite.c')
| -rw-r--r-- | src/composite.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/composite.c b/src/composite.c index 8b1f0171a60..99b5da22af5 100644 --- a/src/composite.c +++ b/src/composite.c | |||
| @@ -595,7 +595,7 @@ update_compositions (ptrdiff_t from, ptrdiff_t to, int check_mask) | |||
| 595 | specbind (Qinhibit_point_motion_hooks, Qt); | 595 | specbind (Qinhibit_point_motion_hooks, Qt); |
| 596 | Fremove_list_of_text_properties (make_number (min_pos), | 596 | Fremove_list_of_text_properties (make_number (min_pos), |
| 597 | make_number (max_pos), | 597 | make_number (max_pos), |
| 598 | Fcons (Qauto_composed, Qnil), Qnil); | 598 | list1 (Qauto_composed), Qnil); |
| 599 | unbind_to (count, Qnil); | 599 | unbind_to (count, Qnil); |
| 600 | } | 600 | } |
| 601 | } | 601 | } |
| @@ -1873,11 +1873,9 @@ See `find-composition' for more details. */) | |||
| 1873 | return list3 (make_number (s), make_number (e), gstring); | 1873 | return list3 (make_number (s), make_number (e), gstring); |
| 1874 | } | 1874 | } |
| 1875 | if (!COMPOSITION_VALID_P (start, end, prop)) | 1875 | if (!COMPOSITION_VALID_P (start, end, prop)) |
| 1876 | return Fcons (make_number (start), Fcons (make_number (end), | 1876 | return list3 (make_number (start), make_number (end), Qnil); |
| 1877 | Fcons (Qnil, Qnil))); | ||
| 1878 | if (NILP (detail_p)) | 1877 | if (NILP (detail_p)) |
| 1879 | return Fcons (make_number (start), Fcons (make_number (end), | 1878 | return list3 (make_number (start), make_number (end), Qt); |
| 1880 | Fcons (Qt, Qnil))); | ||
| 1881 | 1879 | ||
| 1882 | if (COMPOSITION_REGISTERD_P (prop)) | 1880 | if (COMPOSITION_REGISTERD_P (prop)) |
| 1883 | id = COMPOSITION_ID (prop); | 1881 | id = COMPOSITION_ID (prop); |
| @@ -1899,10 +1897,7 @@ See `find-composition' for more details. */) | |||
| 1899 | relative_p = (method == COMPOSITION_WITH_RULE_ALTCHARS | 1897 | relative_p = (method == COMPOSITION_WITH_RULE_ALTCHARS |
| 1900 | ? Qnil : Qt); | 1898 | ? Qnil : Qt); |
| 1901 | mod_func = COMPOSITION_MODIFICATION_FUNC (prop); | 1899 | mod_func = COMPOSITION_MODIFICATION_FUNC (prop); |
| 1902 | tail = Fcons (components, | 1900 | tail = list4 (components, relative_p, mod_func, make_number (width)); |
| 1903 | Fcons (relative_p, | ||
| 1904 | Fcons (mod_func, | ||
| 1905 | Fcons (make_number (width), Qnil)))); | ||
| 1906 | } | 1901 | } |
| 1907 | else | 1902 | else |
| 1908 | tail = Qnil; | 1903 | tail = Qnil; |