Skip to content

Commit 7bf6f2d

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 f4c6883 commit 7bf6f2d

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
@@ -276,8 +276,7 @@ Then we need a session token."
276276
gptel--gh-token))
277277
(when (or (null token)
278278
(and expires_at
279-
(> (round (float-time (current-time)))
280-
expires_at)))
279+
(> (round (float-time)) expires_at)))
281280
(gptel--gh-renew-token))))
282281

283282
;;;###autoload

0 commit comments

Comments
 (0)