emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/fns.c


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/src/fns.c
Date: Mon, 21 Jul 2003 05:52:45 -0400

Index: emacs/src/fns.c
diff -c emacs/src/fns.c:1.340 emacs/src/fns.c:1.341
*** emacs/src/fns.c:1.340       Sun Jul  6 15:29:48 2003
--- emacs/src/fns.c     Mon Jul 21 05:52:45 2003
***************
*** 3479,3488 ****
  #include <langinfo.h>
  #endif
  
! DEFUN ("langinfo", Flanginfo, Slanginfo, 1, 1, 0,
!        doc: /* Access locale data ITEM, if available.
! 
! ITEM may be one of the following:
  
  `codeset', returning the character set as a string (locale item CODESET);
  
--- 3479,3487 ----
  #include <langinfo.h>
  #endif
  
! DEFUN ("locale-info", Flocale_info, Slocale_info, 1, 1, 0,
!        doc: /* Access locale data ITEM for the current C locale, if available.
! ITEM should be one of the following:
  
  `codeset', returning the character set as a string (locale item CODESET);
  
***************
*** 3490,3501 ****
  
  `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) or if ITEM isn't from the list above, return nil.
  
  See also Info node `(libc)Locales'.
  
--- 3489,3499 ----
  
  `months', returning a 12-element vector of month names (locale items MON_n);
  
! `paper', returning a list (WIDTH HEIGHT) for the default paper size,
!   both measured in milimeters (locale items PAPER_WIDTH, PAPER_HEIGHT).
  
  If the system can't provide such information through a call to
! `nl_langinfo', or if ITEM isn't from the list above, return nil.
  
  See also Info node `(libc)Locales'.
  
***************
*** 5690,5696 ****
    defsubr (&Sbase64_encode_string);
    defsubr (&Sbase64_decode_string);
    defsubr (&Smd5);
!   defsubr (&Slanginfo);
  }
  
  
--- 5688,5694 ----
    defsubr (&Sbase64_encode_string);
    defsubr (&Sbase64_decode_string);
    defsubr (&Smd5);
!   defsubr (&Slocale_info);
  }
  
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]