aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorEli Zaretskii2019-02-04 18:05:59 +0200
committerEli Zaretskii2019-02-04 18:05:59 +0200
commitf37000aeb2b987c0fb14b6770fef69eaf274167a (patch)
treeaf50afbb4fd52389a11ae8259d2f18ccd081ce61 /etc
parentd5f629d193ffe88c464379f02dd2adaadc9dfdf0 (diff)
downloademacs-f37000aeb2b987c0fb14b6770fef69eaf274167a.tar.gz
emacs-f37000aeb2b987c0fb14b6770fef69eaf274167a.zip
Support (locale-info 'paper) on MS-Windows
* src/w32proc.c (LOCALE_IPAPERSIZE): Define if undefined. (nl_langinfo): Support _NL_PAPER_WIDTH and _NL_PAPER_HEIGHT like glibc does. * src/fns.c (Flocale_info): Update the doc string. * nt/inc/langinfo.h: Add _NL_PAPER_WIDTH and _NL_PAPER_HEIGHT to the enumeration. (_NL_PAPER_WIDTH, _NL_PAPER_HEIGHT): Define namesake macros. * nt/mingw-cfg.site (emacs_cv_langinfo__nl_paper_width): Set to 'yes'. * doc/lispref/nonascii.texi (Locales): Update the documentation of 'locale-info' for the argument of 'paper'. * etc/NEWS: Update the locale-info entry.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS8
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/NEWS b/etc/NEWS
index bbfc3285ee6..a9c009e9d21 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1533,12 +1533,14 @@ systems, the XRender extension to X11 is required for this to be
1533available; the configure script will test for it and, if found, enable 1533available; the configure script will test for it and, if found, enable
1534scaling.) 1534scaling.)
1535 1535
1536+++
1537** (locale-info 'paper) now returns the paper size on GNUish hosts.
1538
1539The new function 'image-scaling-p' can be used to test whether any 1536The new function 'image-scaling-p' can be used to test whether any
1540given frame supports resizing. 1537given frame supports resizing.
1541 1538
1539+++
1540** (locale-info 'paper) now returns the paper size on systems that support it.
1541This is currently supported on GNUish hosts and on modern versions of
1542MS-Windows.
1543
1542 1544
1543* Changes in Emacs 27.1 on Non-Free Operating Systems 1545* Changes in Emacs 27.1 on Non-Free Operating Systems
1544 1546