From ef0546ffcdab57fa947efb2a255adec4f61efacd Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sat, 6 Aug 2022 10:21:52 +0800 Subject: [PATCH] Fix signature of `seconds-to-time' * lisp/calendar/time-date.el (seconds-to-time): Fix after change to time-convert. --- lisp/calendar/time-date.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/calendar/time-date.el b/lisp/calendar/time-date.el index b80b47a33fa..7e911d814dc 100644 --- a/lisp/calendar/time-date.el +++ b/lisp/calendar/time-date.el @@ -174,7 +174,10 @@ If DATE lacks timezone information, GMT is assumed." (defalias 'time-to-seconds 'float-time) ;;;###autoload -(defalias 'seconds-to-time 'time-convert) +(defun seconds-to-time (seconds &rest form) + "Convert SECONDS to a proper time, like `current-time' would. +FORM means the same as in `time-convert'." + (time-convert seconds form)) ;;;###autoload (defun days-to-time (days) -- 2.39.2