]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix signature of `seconds-to-time'
authorPo Lu <luangruo@yahoo.com>
Sat, 6 Aug 2022 02:21:52 +0000 (10:21 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 6 Aug 2022 02:21:52 +0000 (10:21 +0800)
* lisp/calendar/time-date.el (seconds-to-time): Fix after change
to time-convert.

lisp/calendar/time-date.el

index b80b47a33fa1123359234e0fb83de6a1e6157698..7e911d814dc54a5e65abc51f149aa27c5694c8dd 100644 (file)
@@ -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)