From 6987b0424a209227956d2be8aaa84c1303fd25fd Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Mon, 15 Dec 2014 18:16:03 -0200 Subject: time-to-seconds is obsolete. --- sx-time.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sx-time.el b/sx-time.el index e65bb50..3de124d 100644 --- a/sx-time.el +++ b/sx-time.el @@ -42,7 +42,7 @@ (defun sx-time-since (time) "Convert the time interval since TIME (in seconds) to a short string." - (let ((delay (- (time-to-seconds) time))) + (let ((delay (- (float-time) time))) (concat (if (> 0 delay) "-" "") (if (= 0 delay) "0s" -- cgit v1.2.3