diff options
| author | Richard M. Stallman | 2003-07-21 09:52:45 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2003-07-21 09:52:45 +0000 |
| commit | d68beb2f6d1a3d308cd07e7dba61ed955d20f6f9 (patch) | |
| tree | ae246d485350cff931fb5de024e77f3b58419618 | |
| parent | c124274d342e054c3f72d49137cfd87efbb55ff2 (diff) | |
| download | emacs-d68beb2f6d1a3d308cd07e7dba61ed955d20f6f9.tar.gz emacs-d68beb2f6d1a3d308cd07e7dba61ed955d20f6f9.zip | |
(Flocale_info): Renamed from Flanginfo. Doc fixes.
(syms_of_fns): Corresponding change.
| -rw-r--r-- | src/fns.c | 16 |
1 files changed, 7 insertions, 9 deletions
| @@ -3479,10 +3479,9 @@ usage: (widget-apply WIDGET PROPERTY &rest ARGS) */) | |||
| 3479 | #include <langinfo.h> | 3479 | #include <langinfo.h> |
| 3480 | #endif | 3480 | #endif |
| 3481 | 3481 | ||
| 3482 | DEFUN ("langinfo", Flanginfo, Slanginfo, 1, 1, 0, | 3482 | DEFUN ("locale-info", Flocale_info, Slocale_info, 1, 1, 0, |
| 3483 | doc: /* Access locale data ITEM, if available. | 3483 | doc: /* Access locale data ITEM for the current C locale, if available. |
| 3484 | 3484 | ITEM should be one of the following: | |
| 3485 | ITEM may be one of the following: | ||
| 3486 | 3485 | ||
| 3487 | `codeset', returning the character set as a string (locale item CODESET); | 3486 | `codeset', returning the character set as a string (locale item CODESET); |
| 3488 | 3487 | ||
| @@ -3490,12 +3489,11 @@ ITEM may be one of the following: | |||
| 3490 | 3489 | ||
| 3491 | `months', returning a 12-element vector of month names (locale items MON_n); | 3490 | `months', returning a 12-element vector of month names (locale items MON_n); |
| 3492 | 3491 | ||
| 3493 | `paper', returning a list (WIDTH, HEIGHT) for the default paper size, | 3492 | `paper', returning a list (WIDTH HEIGHT) for the default paper size, |
| 3494 | where the width and height are in mm (locale items PAPER_WIDTH, | 3493 | both measured in milimeters (locale items PAPER_WIDTH, PAPER_HEIGHT). |
| 3495 | PAPER_HEIGHT). | ||
| 3496 | 3494 | ||
| 3497 | If the system can't provide such information through a call to | 3495 | If the system can't provide such information through a call to |
| 3498 | nl_langinfo(3) or if ITEM isn't from the list above, return nil. | 3496 | `nl_langinfo', or if ITEM isn't from the list above, return nil. |
| 3499 | 3497 | ||
| 3500 | See also Info node `(libc)Locales'. | 3498 | See also Info node `(libc)Locales'. |
| 3501 | 3499 | ||
| @@ -5690,7 +5688,7 @@ invoked by mouse clicks and mouse menu items. */); | |||
| 5690 | defsubr (&Sbase64_encode_string); | 5688 | defsubr (&Sbase64_encode_string); |
| 5691 | defsubr (&Sbase64_decode_string); | 5689 | defsubr (&Sbase64_decode_string); |
| 5692 | defsubr (&Smd5); | 5690 | defsubr (&Smd5); |
| 5693 | defsubr (&Slanginfo); | 5691 | defsubr (&Slocale_info); |
| 5694 | } | 5692 | } |
| 5695 | 5693 | ||
| 5696 | 5694 | ||