summaryrefslogtreecommitdiff
path: root/doc/misc/emacs-mime.texi
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-08-04 09:57:27 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-08-04 10:09:25 -0700
commit5f3f3884a0d2a88101d330b82ef5b584cfc02aa6 (patch)
tree1fe0f5f8779f6836748d26ecfc58cee88da8e46e /doc/misc/emacs-mime.texi
parentf01597a43ea2eac38cfbb829f301c2e6e3bcbe83 (diff)
downloademacs-5f3f3884a0d2a88101d330b82ef5b584cfc02aa6.tar.gz
Improve time function doc
* doc/misc/emacs-mime.texi (time-date): Don’t give parse-iso8601-time-string in the example, as the function is not autoloaded. * lisp/gnus/nndiary.el (nndiary-compute-reminders): No need to call encode-time or use floating point here.
Diffstat (limited to 'doc/misc/emacs-mime.texi')
-rw-r--r--doc/misc/emacs-mime.texi6
1 files changed, 1 insertions, 5 deletions
diff --git a/doc/misc/emacs-mime.texi b/doc/misc/emacs-mime.texi
index 6e95013c186..1f384f4f270 100644
--- a/doc/misc/emacs-mime.texi
+++ b/doc/misc/emacs-mime.texi
@@ -1541,10 +1541,6 @@ Here's a bunch of time/date/second/day examples:
1000000)
@result{} (905595714000000 . 1000000)
-(encode-time (parse-iso8601-time-string "1998-09-12T12:21:54+0200")
- 1000000)
-@result{} (905595714000000 . 1000000)
-
(float-time '(905595714000000 . 1000000))
@result{} 905595714.0
@@ -1627,7 +1623,7 @@ These are the functions available:
Take a date and return a time.
@item float-time
-Take a time and return seconds. (This is a built-in function.)
+Take a time and return seconds.
@item encode-time
Take seconds (and other ways to represent time, notably decoded time