summaryrefslogtreecommitdiff
path: root/doc/lispref/os.texi
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-08-04 09:57:27 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-08-04 10:09:25 -0700
commit5f3f3884a0d2a88101d330b82ef5b584cfc02aa6 (patch)
tree1fe0f5f8779f6836748d26ecfc58cee88da8e46e /doc/lispref/os.texi
parentf01597a43ea2eac38cfbb829f301c2e6e3bcbe83 (diff)
downloademacs-5f3f3884a0d2a88101d330b82ef5b584cfc02aa6.tar.gz
Improve time function doc
* doc/misc/emacs-mime.texi (time-date): Don’t give parse-iso8601-time-string in the example, as the function is not autoloaded. * lisp/gnus/nndiary.el (nndiary-compute-reminders): No need to call encode-time or use floating point here.
Diffstat (limited to 'doc/lispref/os.texi')
-rw-r--r--doc/lispref/os.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi
index b3444838d3b..7bb9833467d 100644
--- a/doc/lispref/os.texi
+++ b/doc/lispref/os.texi
@@ -1559,7 +1559,7 @@ or more arguments. The first six arguments @var{second},
specify most of the components of a decoded time. If there are more
than six arguments the @emph{last} argument is used as @var{zone} and
any other extra arguments are ignored, so that @code{(apply
-#\\='encode-time (decode-time ...))} works; otherwise @var{zone} defaults
+#'encode-time (decode-time ...))} works; otherwise @var{zone} defaults
to the current time zone rule (@pxref{Time Zone Rules}). The decoded
time's @var{dst} component is treated as if it was @minus{}1, and
@var{form} takes its default value.
@@ -1581,7 +1581,7 @@ You can perform simple date arithmetic by using out-of-range values for
for example, day 0 means the day preceding the given month.
The operating system puts limits on the range of possible time values;
-if you try to encode a time that is out of range, an error results.
+if the limits are exceeded while encoding the time, an error results.
For instance, years before 1970 do not work on some systems;
on others, years as early as 1901 do work.
@end defun