]> git.eshelyaron.com Git - emacs.git/commitdiff
(Time Conversion): decode-time arg is optional.
authorRichard M. Stallman <rms@gnu.org>
Tue, 22 Jul 2003 15:17:55 +0000 (15:17 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 22 Jul 2003 15:17:55 +0000 (15:17 +0000)
lispref/os.texi

index 98e63f2a8786032a821bd0cd6324333f8e608f2a..3536c086f1f0c4fc70a5ef63a2b2740725618457 100644 (file)
@@ -1163,9 +1163,10 @@ seconds since the epoch, to a time value and returns that.  To perform
 the inverse conversion, use @code{float-time}.
 @end defun
 
-@defun decode-time time
-This function converts a time value into calendrical information.  The
-return value is a list of nine elements, as follows:
+@defun decode-time &optional time
+This function converts a time value into calendrical information.  If
+you don't specify @var{time}, it decodes the current time.  The return
+value is a list of nine elements, as follows:
 
 @example
 (@var{seconds} @var{minutes} @var{hour} @var{day} @var{month} @var{year} @var{dow} @var{dst} @var{zone})