Skip to content

Commit 76a1010

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 28c5998 commit 76a1010

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
@@ -260,8 +260,7 @@ Then we need a session token."
260260
gptel--gh-token))
261261
(when (or (null token)
262262
(and expires_at
263-
(> (round (float-time (current-time)))
264-
expires_at)))
263+
(> (round (float-time)) expires_at)))
265264
(gptel--gh-renew-token))))
266265

267266
;;;###autoload

0 commit comments

Comments
 (0)