From: Po Lu Date: Sat, 6 Aug 2022 02:21:52 +0000 (+0800) Subject: Fix signature of `seconds-to-time' X-Git-Tag: emacs-29.0.90~1447^2~398 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ef0546ffcdab57fa947efb2a255adec4f61efacd;p=emacs.git Fix signature of `seconds-to-time' * lisp/calendar/time-date.el (seconds-to-time): Fix after change to time-convert. --- 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)