[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-27 818333c 1/2: * doc/lispref/os.texi (time-subtract): Doc fix.
From: |
Paul Eggert |
Subject: |
emacs-27 818333c 1/2: * doc/lispref/os.texi (time-subtract): Doc fix. |
Date: |
Sat, 7 Mar 2020 12:50:25 -0500 (EST) |
branch: emacs-27
commit 818333c85a513dc2d0ae9ee00ecde983c4fe0269
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
* doc/lispref/os.texi (time-subtract): Doc fix.
---
doc/lispref/os.texi | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi
index 201ca18..92aaf24 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}.