diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2013-03-07 07:01:17 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2013-03-07 07:01:17 +0400 |
commit | 3de717bdb483f7c6e23cd7701ee4ebd77eccb8b9 (patch) | |
tree | 28cb71a881d9a3801c36dd7de6be5f0d2bcaf776 /src/insdel.c | |
parent | ab89e9f9a594c30ce4c04e6d502bee3beaefe908 (diff) |
* lisp.h (list2i, list3i): New functions.
(list4i): Move from window.c and make LISP_INLINE.
* editfns.c (make_lisp_time):
* fns.c (Flocale_info):
* keyboard.c (parse_modifiers):
* xterm.c (x_ewmh_activate_frame): Use list2i.
* instel.c (signal_after_change):
* nsfns.m (Fx_server_version, Fxw_color_values):
* w32fns.c (Fxw_color_values, Fx_server_version):
* xfns.c (Fxw_color_values, Fx_server_version): Use list3i.
* fileio.c (Fvisited_file_modtime):
* nsfns.m (Fns_display_usable_bounds):
* w32.c (ltime): Use list4i.
Diffstat (limited to 'src/insdel.c')
-rw-r--r-- | src/insdel.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/insdel.c b/src/insdel.c index 4cf4e6452a..fc5a4576dc 100644 --- a/src/insdel.c +++ b/src/insdel.c @@ -2013,9 +2013,8 @@ signal_after_change (ptrdiff_t charpos, ptrdiff_t lendel, ptrdiff_t lenins) && current_buffer != XBUFFER (combine_after_change_buffer)) Fcombine_after_change_execute (); - elt = Fcons (make_number (charpos - BEG), - Fcons (make_number (Z - (charpos - lendel + lenins)), - Fcons (make_number (lenins - lendel), Qnil))); + elt = list3i (charpos - BEG, Z - (charpos - lendel + lenins), + lenins - lendel); combine_after_change_list = Fcons (elt, combine_after_change_list); combine_after_change_buffer = Fcurrent_buffer (); |