aboutsummaryrefslogtreecommitdiffstats
path: root/src/fns.c
diff options
context:
space:
mode:
authorDmitry Antipov2013-03-07 07:01:17 +0400
committerDmitry Antipov2013-03-07 07:01:17 +0400
commit3de717bdb483f7c6e23cd7701ee4ebd77eccb8b9 (patch)
tree28cb71a881d9a3801c36dd7de6be5f0d2bcaf776 /src/fns.c
parentab89e9f9a594c30ce4c04e6d502bee3beaefe908 (diff)
downloademacs-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/fns.c')
-rw-r--r--src/fns.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/fns.c b/src/fns.c
index 44ddf340856..b3a1dc2317a 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -2839,10 +2839,7 @@ The data read from the system are decoded using `locale-coding-system'. */)
2839 but is in the locale files. This could be used by ps-print. */ 2839 but is in the locale files. This could be used by ps-print. */
2840#ifdef PAPER_WIDTH 2840#ifdef PAPER_WIDTH
2841 else if (EQ (item, Qpaper)) 2841 else if (EQ (item, Qpaper))
2842 { 2842 return list2i (nl_langinfo (PAPER_WIDTH), nl_langinfo (PAPER_HEIGHT));
2843 return list2 (make_number (nl_langinfo (PAPER_WIDTH)),
2844 make_number (nl_langinfo (PAPER_HEIGHT)));
2845 }
2846#endif /* PAPER_WIDTH */ 2843#endif /* PAPER_WIDTH */
2847#endif /* HAVE_LANGINFO_CODESET*/ 2844#endif /* HAVE_LANGINFO_CODESET*/
2848 return Qnil; 2845 return Qnil;