Mercurial > emacs
changeset 49798:48a58e6b11cc
(Flanginfo): Doc fix.
author | Dave Love <fx@gnu.org> |
---|---|
date | Fri, 14 Feb 2003 18:56:16 +0000 |
parents | bc572bfebdfc |
children | 8cdcf1a04744 |
files | src/fns.c |
diffstat | 1 files changed, 9 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fns.c Fri Feb 14 18:45:40 2003 +0000 +++ b/src/fns.c Fri Feb 14 18:56:16 2003 +0000 @@ -3448,16 +3448,21 @@ #endif DEFUN ("langinfo", Flanginfo, Slanginfo, 1, 1, 0, - doc: /* Access locale category ITEM, if available. + doc: /* Access locale data ITEM, if available. ITEM may be one of the following: -`codeset', returning the character set as a string (CODESET); -`days', returning a 7-element vector of day names (DAY_n); -`months', returning a 12-element vector of month names (MON_n). +`codeset', returning the character set as a string (locale item CODESET); +`days', returning a 7-element vector of day names (locale items DAY_n); +`months', returning a 12-element vector of month names (locale items MON_n); +`paper', returning a list (WIDTH, HEIGHT) for the default paper size, + where the width and height are in mm (locale items PAPER_WIDTH, + PAPER_HEIGHT). If the system can't provide such information through a call to nl_langinfo(3), return nil. +See also Info node `(libc)Locales'. + The data read from the system are decoded using `locale-coding-system'. */) (item) Lisp_Object item;