diff src/editfns.c @ 151:59463afc5666 r20-3b2

Import from CVS: tag r20-3b2
author cvs
date Mon, 13 Aug 2007 09:37:19 +0200
parents 538048ae2ab8
children 25f70ba0133c
line wrap: on
line diff
--- a/src/editfns.c	Mon Aug 13 09:36:20 2007 +0200
+++ b/src/editfns.c	Mon Aug 13 09:37:19 2007 +0200
@@ -916,10 +916,11 @@
 static long difftm (CONST struct tm *a, CONST struct tm *b);
 
 
-DEFUN ("format-time-string", Fformat_time_string, 2, 2, 0, /*
+DEFUN ("format-time-string", Fformat_time_string, 1, 2, 0, /*
 Use FORMAT-STRING to format the time TIME.
 TIME is specified as (HIGH LOW . IGNORED) or (HIGH . LOW), as from
-`current-time' and `file-attributes'.
+`current-time' and `file-attributes'.  If TIME is not specified it
+defaults to the current time.
 FORMAT-STRING may contain %-sequences to substitute parts of the time.
 %a is replaced by the abbreviated name of the day of week.
 %A is replaced by the full name of the day of week.