diff options
| author | Tom Tromey <tromey@redhat.com> | 2013-07-26 14:02:53 -0600 |
|---|---|---|
| committer | Tom Tromey <tromey@redhat.com> | 2013-07-26 14:02:53 -0600 |
| commit | cc231cbe45d27a1906d268fb72d3b4105a2e9c65 (patch) | |
| tree | c011828e2a3a18e77eaa8849e3cccb805d798f42 /src/composite.c | |
| parent | b34a529f177a6ea32da5cb1254f91bf9d71838db (diff) | |
| parent | fec9206062b420aca84f53d05a72c3ee43244022 (diff) | |
| download | emacs-cc231cbe45d27a1906d268fb72d3b4105a2e9c65.tar.gz | |
merge from trunk
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) specbind (Qinhibit_point_motion_hooks, Qt); Fremove_list_of_text_properties (make_number (min_pos), make_number (max_pos), - Fcons (Qauto_composed, Qnil), Qnil); + list1 (Qauto_composed), Qnil); unbind_to (count, Qnil); } } @@ -1873,11 +1873,9 @@ See `find-composition' for more details. */) 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), - Fcons (Qnil, Qnil))); + return list3 (make_number (start), make_number (end), Qnil); if (NILP (detail_p)) - return Fcons (make_number (start), Fcons (make_number (end), - Fcons (Qt, Qnil))); + return list3 (make_number (start), make_number (end), Qt); if (COMPOSITION_REGISTERD_P (prop)) id = COMPOSITION_ID (prop); @@ -1899,10 +1897,7 @@ See `find-composition' for more details. */) relative_p = (method == COMPOSITION_WITH_RULE_ALTCHARS ? Qnil : Qt); mod_func = COMPOSITION_MODIFICATION_FUNC (prop); - tail = Fcons (components, - Fcons (relative_p, - Fcons (mod_func, - Fcons (make_number (width), Qnil)))); + tail = list4 (components, relative_p, mod_func, make_number (width)); } else tail = Qnil; |
