aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2020-03-07 09:30:19 -0800
committerPaul Eggert2020-03-07 09:50:18 -0800
commit818333c85a513dc2d0ae9ee00ecde983c4fe0269 (patch)
tree3054cdde92c949a5fa65bd8643921e298d8f4c7e
parent72f87f88739befce2adf202749b7d651a8ef1551 (diff)
downloademacs-818333c85a513dc2d0ae9ee00ecde983c4fe0269.tar.gz
emacs-818333c85a513dc2d0ae9ee00ecde983c4fe0269.zip
* doc/lispref/os.texi (time-subtract): Doc fix.
-rw-r--r--doc/lispref/os.texi5
1 files changed, 2 insertions, 3 deletions
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.
1978 1978
1979@defun time-subtract t1 t2 1979@defun time-subtract t1 t2
1980This returns the time difference @var{t1} @minus{} @var{t2} between 1980This returns the time difference @var{t1} @minus{} @var{t2} between
1981two time values, normally as a Lisp timestamp but as a float 1981two time values, as a Lisp time value. The result is exact and its clock
1982if either argument is infinite or a NaN@.
1983When the result is a timestamp, it is exact and its clock
1984resolution is no worse than the worse of its two arguments' resolutions. 1982resolution is no worse than the worse of its two arguments' resolutions.
1983The result is floating-point only if it is infinite or a NaN.
1985If you need the difference in units 1984If you need the difference in units
1986of elapsed seconds, you can convert it with @code{time-convert} or 1985of elapsed seconds, you can convert it with @code{time-convert} or
1987@code{float-time}. @xref{Time Conversion}. 1986@code{float-time}. @xref{Time Conversion}.