summaryrefslogtreecommitdiff
path: root/doc/lispref
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2022-08-05 18:46:31 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2022-08-05 18:46:31 -0400
commitb70369c557efed3dcd86dc64a2e73e3480dea6af (patch)
tree9b705cd5810e902afffccccfc3aee65bc8bb1963 /doc/lispref
parent32c603e9e557aa8bc448bd0b3af493a9244d1aae (diff)
downloademacs-b70369c557efed3dcd86dc64a2e73e3480dea6af.tar.gz
emacs-b70369c557efed3dcd86dc64a2e73e3480dea6af.tar.bz2
emacs-b70369c557efed3dcd86dc64a2e73e3480dea6af.zip
time-convert): Deprecate calls without an explicit FORM arg
* lisp/subr.el (time-convert): Deprecate calls without an explicit FORM arg. * doc/lispref/os.texi (Time Conversion): Adjust doc accordingly. * lisp/calendar/time-date.el (days-to-time): * lisp/emacs-lisp/timer.el (timer-next-integral-multiple-of-time): * lisp/gnus/nnrss.el (nnrss-normalize-date): * lisp/epa-ks.el (epa-ks--parse-buffer): Silence corresponding warnings.
Diffstat (limited to 'doc/lispref')
-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 5fb34fb9b66..d591b219cd0 100644
--- a/doc/lispref/os.texi
+++ b/doc/lispref/os.texi
@@ -1541,7 +1541,7 @@ Year numbers count since the year 1 BCE, and do not skip zero
as traditional Gregorian years do; for example, the year number
@minus{}37 represents the Gregorian year 38 BCE@.
-@defun time-convert time &optional form
+@defun time-convert time form
This function converts a time value into a Lisp timestamp.
The optional @var{form} argument specifies the timestamp form to be
@@ -1554,7 +1554,7 @@ representing the timestamp; for example, it is treated as 1000000000
if @var{time} is @code{nil} and the platform timestamp has nanosecond
resolution. If @var{form} is @code{list}, this function returns an
integer list @code{(@var{high} @var{low} @var{micro} @var{pico})}.
-Although an omitted or @code{nil} @var{form} currently acts like
+Although a @code{nil} @var{form} currently acts like
@code{list}, this is planned to change in a future Emacs version, so
callers requiring list timestamps should pass @code{list} explicitly.