From: Paul Eggert Date: Sat, 7 Mar 2020 17:30:19 +0000 (-0800) Subject: * doc/lispref/os.texi (time-subtract): Doc fix. X-Git-Tag: emacs-27.0.91~98 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=818333c85a;p=emacs.git * doc/lispref/os.texi (time-subtract): Doc fix. --- diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi index 201ca18c1e4..92aaf24b851 100644 --- a/doc/lispref/os.texi +++ b/doc/lispref/os.texi @@ -1978,10 +1978,9 @@ The result is @code{nil} if either argument is a NaN. @defun time-subtract t1 t2 This returns the time difference @var{t1} @minus{} @var{t2} between -two time values, normally as a Lisp timestamp but as a float -if either argument is infinite or a NaN@. -When the result is a timestamp, it is exact and its clock +two time values, as a Lisp time value. The result is exact and its clock resolution is no worse than the worse of its two arguments' resolutions. +The result is floating-point only if it is infinite or a NaN. If you need the difference in units of elapsed seconds, you can convert it with @code{time-convert} or @code{float-time}. @xref{Time Conversion}.