]> code.delx.au - gnu-emacs/blobdiff - lisp/gnus/gnus-group.el
Simplify now that float-time etc. are built-in
[gnu-emacs] / lisp / gnus / gnus-group.el
index 3de2609457299d4c8e43c97145072a182c09328d..53a4ca750421303716eb3ae283150b6895041096 100644 (file)
@@ -4530,7 +4530,7 @@ or `gnus-group-catchup-group-hook'."
   "Return the offset in seconds from the timestamp for GROUP to the current time, as a floating point number."
   (let* ((time (or (gnus-group-timestamp group)
                   (list 0 0)))
-        (delta (subtract-time (current-time) time)))
+        (delta (time-subtract (current-time) time)))
     (+ (* (nth 0 delta) 65536.0)
        (nth 1 delta))))