Skip to content

Commit 213f9cc

Browse files
gptel-gh: Removed unnecessary call to (current-time)
(float-time) will implicitly use (current-time) if the argument is not specified.
1 parent 4dc0cd4 commit 213f9cc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

gptel-gh.el

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,7 @@ Then we need a session token."
282282
gptel--gh-token))
283283
(when (or (null token)
284284
(and expires_at
285-
(> (round (float-time (current-time)))
286-
expires_at)))
285+
(> (round (float-time)) expires_at)))
287286
(gptel--gh-renew-token))))
288287

289288
;;;###autoload

0 commit comments

Comments
 (0)