]> git.eshelyaron.com Git - emacs.git/commit
Support (locale-info 'paper) on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Mon, 4 Feb 2019 16:05:59 +0000 (18:05 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 4 Feb 2019 16:05:59 +0000 (18:05 +0200)
commitf37000aeb2b987c0fb14b6770fef69eaf274167a
treeaf50afbb4fd52389a11ae8259d2f18ccd081ce61
parentd5f629d193ffe88c464379f02dd2adaadc9dfdf0
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.
doc/lispref/nonascii.texi
etc/NEWS
nt/inc/langinfo.h
nt/mingw-cfg.site
src/fns.c
src/w32proc.c