diff options
author | Eli Zaretskii <eliz@gnu.org> | 2019-02-04 18:05:59 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2019-02-04 18:05:59 +0200 |
commit | f37000aeb2b987c0fb14b6770fef69eaf274167a (patch) | |
tree | af50afbb4fd52389a11ae8259d2f18ccd081ce61 /etc | |
parent | d5f629d193ffe88c464379f02dd2adaadc9dfdf0 (diff) |
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/NEWS | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1533,12 +1533,14 @@ systems, the XRender extension to X11 is required for this to be available; the configure script will test for it and, if found, enable scaling.) -+++ -** (locale-info 'paper) now returns the paper size on GNUish hosts. - The new function 'image-scaling-p' can be used to test whether any given frame supports resizing. ++++ +** (locale-info 'paper) now returns the paper size on systems that support it. +This is currently supported on GNUish hosts and on modern versions of +MS-Windows. + * Changes in Emacs 27.1 on Non-Free Operating Systems |