summaryrefslogtreecommitdiff
path: root/lispref/os.texi
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2003-07-22 15:17:55 +0000
committerRichard M. Stallman <rms@gnu.org>2003-07-22 15:17:55 +0000
commit75442b3f4306851019cbe7f9bdf8a52669433e97 (patch)
treef90a73f034d66a96922c210f33e477df31344a4f /lispref/os.texi
parent6efdb8e54c4c5015b7b5f2693e9b617b6d02a57a (diff)
downloademacs-75442b3f4306851019cbe7f9bdf8a52669433e97.tar.gz
(Time Conversion): decode-time arg is optional.
Diffstat (limited to 'lispref/os.texi')
-rw-r--r--lispref/os.texi7
1 files changed, 4 insertions, 3 deletions
diff --git a/lispref/os.texi b/lispref/os.texi
index 98e63f2a878..3536c086f1f 100644
--- a/lispref/os.texi
+++ b/lispref/os.texi
@@ -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})