aboutsummaryrefslogtreecommitdiff
path: root/sx-time.el
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-12-15 16:33:29 -0500
committerSean Allred <code@seanallred.com>2014-12-15 16:33:29 -0500
commit3e332ab028d1b15b1a255411206368e53b372ff9 (patch)
tree67d12328b8f93d1147872f89af9645979d4ee425 /sx-time.el
parent203402f10a7bce27b30d19aa71b96dad9a0e6b3c (diff)
parent0a2f984d0771b9a921696af1fe3bad10cdbb7b54 (diff)
Merge pull request #158 from vermiculus/fix-some-warnings
Fix some warnings
Diffstat (limited to 'sx-time.el')
-rw-r--r--sx-time.el2
1 files changed, 1 insertions, 1 deletions
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"