comparison src/editfns.c @ 48:56c54cf7c5b6 r19-16b90

Import from CVS: tag r19-16b90
author cvs
date Mon, 13 Aug 2007 08:56:04 +0200
parents 7e54bd776075
children 131b0175ea99
comparison
equal deleted inserted replaced
47:11c6df210d7f 48:56c54cf7c5b6
918 size_t emacs_strftime (char *string, size_t max, CONST char *format, 918 size_t emacs_strftime (char *string, size_t max, CONST char *format,
919 CONST struct tm *tm); 919 CONST struct tm *tm);
920 static long difftm (CONST struct tm *a, CONST struct tm *b); 920 static long difftm (CONST struct tm *a, CONST struct tm *b);
921 921
922 922
923 DEFUN ("format-time-string", Fformat_time_string, 2, 2, 0, /* 923 DEFUN ("format-time-string", Fformat_time_string, 1, 2, 0, /*
924 Use FORMAT-STRING to format the time TIME. 924 Use FORMAT-STRING to format the time TIME.
925 TIME is specified as (HIGH LOW . IGNORED) or (HIGH . LOW), as from 925 TIME is specified as (HIGH LOW . IGNORED) or (HIGH . LOW), as from
926 `current-time' and `file-attributes'. 926 `current-time' and `file-attributes'. If TIME is not specified it
927 defaults to the current time.
927 FORMAT-STRING may contain %-sequences to substitute parts of the time. 928 FORMAT-STRING may contain %-sequences to substitute parts of the time.
928 %a is replaced by the abbreviated name of the day of week. 929 %a is replaced by the abbreviated name of the day of week.
929 %A is replaced by the full name of the day of week. 930 %A is replaced by the full name of the day of week.
930 %b is replaced by the abbreviated name of the month. 931 %b is replaced by the abbreviated name of the month.
931 %B is replaced by the full name of the month. 932 %B is replaced by the full name of the month.