projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32ab6d7
)
Fix signature of `seconds-to-time'
author
Po Lu
<luangruo@yahoo.com>
Sat, 6 Aug 2022 02:21:52 +0000
(10:21 +0800)
committer
Po 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
patch
|
blob
|
history
diff --git
a/lisp/calendar/time-date.el
b/lisp/calendar/time-date.el
index b80b47a33fa1123359234e0fb83de6a1e6157698..7e911d814dc54a5e65abc51f149aa27c5694c8dd 100644
(file)
--- 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)