diff options
| author | Dmitry Antipov | 2013-03-07 07:01:17 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2013-03-07 07:01:17 +0400 |
| commit | 3de717bdb483f7c6e23cd7701ee4ebd77eccb8b9 (patch) | |
| tree | 28cb71a881d9a3801c36dd7de6be5f0d2bcaf776 /src/editfns.c | |
| parent | ab89e9f9a594c30ce4c04e6d502bee3beaefe908 (diff) | |
| download | emacs-3de717bdb483f7c6e23cd7701ee4ebd77eccb8b9.tar.gz emacs-3de717bdb483f7c6e23cd7701ee4ebd77eccb8b9.zip | |
* 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/editfns.c')
| -rw-r--r-- | src/editfns.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/editfns.c b/src/editfns.c index 831c8359fab..e1813dc65a1 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -1484,9 +1484,7 @@ Lisp_Object | |||
| 1484 | make_lisp_time (EMACS_TIME t) | 1484 | make_lisp_time (EMACS_TIME t) |
| 1485 | { | 1485 | { |
| 1486 | int ns = EMACS_NSECS (t); | 1486 | int ns = EMACS_NSECS (t); |
| 1487 | return make_time_tail (EMACS_SECS (t), | 1487 | return make_time_tail (EMACS_SECS (t), list2i (ns / 1000, ns % 1000 * 1000)); |
| 1488 | list2 (make_number (ns / 1000), | ||
| 1489 | make_number (ns % 1000 * 1000))); | ||
| 1490 | } | 1488 | } |
| 1491 | 1489 | ||
| 1492 | /* Decode a Lisp list SPECIFIED_TIME that represents a time. | 1490 | /* Decode a Lisp list SPECIFIED_TIME that represents a time. |