diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-08-04 09:57:27 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-08-04 10:09:25 -0700 |
commit | 5f3f3884a0d2a88101d330b82ef5b584cfc02aa6 (patch) | |
tree | 1fe0f5f8779f6836748d26ecfc58cee88da8e46e /lisp/calendar/time-date.el | |
parent | f01597a43ea2eac38cfbb829f301c2e6e3bcbe83 (diff) | |
download | emacs-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 'lisp/calendar/time-date.el')
-rw-r--r-- | lisp/calendar/time-date.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/calendar/time-date.el b/lisp/calendar/time-date.el index 5b82b8ab0fa..c0565b3cfb7 100644 --- a/lisp/calendar/time-date.el +++ b/lisp/calendar/time-date.el @@ -374,8 +374,8 @@ January 1st being 1." (defun decoded-time-add (time delta) "Add DELTA to TIME, both of which are `decoded-time' structures. -TIME should represent a time, while DELTA should only have -non-nil integers for the values that should be altered. +TIME should represent a time, while DELTA should have non-nil +entries only for the values that should be altered. For instance, if you want to \"add two months\" to TIME, then leave all other fields but the month field in DELTA nil, and make |