diff options
author | Glenn Morris <rgm@gnu.org> | 2014-01-23 19:57:53 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2014-01-23 19:57:53 -0800 |
commit | 96c983e0d3034ae09406c4b1fb76ca4d06008fcf (patch) | |
tree | 7c4aa5453defce7e14ce39a9fc74ebc3e5a40893 /doc/misc/emacs-mime.texi | |
parent | aac1f8ddd525c8a02bb9b653bdccf24a179d8db5 (diff) | |
download | emacs-96c983e0d3034ae09406c4b1fb76ca4d06008fcf.tar.gz |
* doc/misc/emacs-mime.texi (time-date): Use float-time.
* etc/NEWS: Related edit.
Diffstat (limited to 'doc/misc/emacs-mime.texi')
-rw-r--r-- | doc/misc/emacs-mime.texi | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/misc/emacs-mime.texi b/doc/misc/emacs-mime.texi index 601269d405b..7931ab298f0 100644 --- a/doc/misc/emacs-mime.texi +++ b/doc/misc/emacs-mime.texi @@ -1511,7 +1511,7 @@ Here's a bunch of time/date/second/day examples: (date-to-time "Sat Sep 12 12:21:54 1998 +0200") @result{} (13818 19266) -(time-to-seconds '(13818 19266)) +(float-time '(13818 19266)) @result{} 905595714.0 (seconds-to-time 905595714.0) @@ -1583,9 +1583,8 @@ These are the functions available: @item date-to-time Take a date and return a time. -@item time-to-seconds -Take a time and return seconds. Note that Emacs has a built-in -function, @code{float-time}, that does this. +@item float-time +Take a time and return seconds. (This is a built-in function.) @item seconds-to-time Take seconds and return a time. |