From: Eli Zaretskii Date: Sat, 14 Oct 2023 09:00:51 +0000 (+0300) Subject: ; * lisp/calendar/time-date.el (days-to-time): Doc fix. X-Git-Tag: emacs-29.1.90~10 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=06a87738114;p=emacs.git ; * lisp/calendar/time-date.el (days-to-time): Doc fix. --- diff --git a/lisp/calendar/time-date.el b/lisp/calendar/time-date.el index 786134d8ac5..319d1d1b91c 100644 --- a/lisp/calendar/time-date.el +++ b/lisp/calendar/time-date.el @@ -182,7 +182,7 @@ If DATE lacks timezone information, GMT is assumed." ;;;###autoload (defun days-to-time (days) "Convert Emacs-epoch DAYS into a time value. -Note that this does not use the same epoch as time-to-days; you +Note that this does not use the same epoch as `time-to-days'; you must subtract (time-to-days 0) first to convert, and may get nil if the result is before the start." ;; FIXME: We should likely just pass `t' to `time-convert'.