diff options
| author | Paul Eggert | 2020-03-07 09:30:19 -0800 |
|---|---|---|
| committer | Paul Eggert | 2020-03-07 09:50:18 -0800 |
| commit | 818333c85a513dc2d0ae9ee00ecde983c4fe0269 (patch) | |
| tree | 3054cdde92c949a5fa65bd8643921e298d8f4c7e | |
| parent | 72f87f88739befce2adf202749b7d651a8ef1551 (diff) | |
| download | emacs-818333c85a513dc2d0ae9ee00ecde983c4fe0269.tar.gz emacs-818333c85a513dc2d0ae9ee00ecde983c4fe0269.zip | |
* doc/lispref/os.texi (time-subtract): Doc fix.
| -rw-r--r-- | doc/lispref/os.texi | 5 |
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 |
| 1980 | This returns the time difference @var{t1} @minus{} @var{t2} between | 1980 | This returns the time difference @var{t1} @minus{} @var{t2} between |
| 1981 | two time values, normally as a Lisp timestamp but as a float | 1981 | two time values, as a Lisp time value. The result is exact and its clock |
| 1982 | if either argument is infinite or a NaN@. | ||
| 1983 | When the result is a timestamp, it is exact and its clock | ||
| 1984 | resolution is no worse than the worse of its two arguments' resolutions. | 1982 | resolution is no worse than the worse of its two arguments' resolutions. |
| 1983 | The result is floating-point only if it is infinite or a NaN. | ||
| 1985 | If you need the difference in units | 1984 | If you need the difference in units |
| 1986 | of elapsed seconds, you can convert it with @code{time-convert} or | 1985 | of 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}. |