diff options
| author | Eli Zaretskii | 2019-02-04 18:05:59 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2019-02-04 18:05:59 +0200 |
| commit | f37000aeb2b987c0fb14b6770fef69eaf274167a (patch) | |
| tree | af50afbb4fd52389a11ae8259d2f18ccd081ce61 /etc | |
| parent | d5f629d193ffe88c464379f02dd2adaadc9dfdf0 (diff) | |
| download | emacs-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/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 | |||
| 1533 | available; the configure script will test for it and, if found, enable | 1533 | available; the configure script will test for it and, if found, enable |
| 1534 | scaling.) | 1534 | scaling.) |
| 1535 | 1535 | ||
| 1536 | +++ | ||
| 1537 | ** (locale-info 'paper) now returns the paper size on GNUish hosts. | ||
| 1538 | |||
| 1539 | The new function 'image-scaling-p' can be used to test whether any | 1536 | The new function 'image-scaling-p' can be used to test whether any |
| 1540 | given frame supports resizing. | 1537 | given frame supports resizing. |
| 1541 | 1538 | ||
| 1539 | +++ | ||
| 1540 | ** (locale-info 'paper) now returns the paper size on systems that support it. | ||
| 1541 | This is currently supported on GNUish hosts and on modern versions of | ||
| 1542 | MS-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 | ||