summaryrefslogtreecommitdiff
path: root/lisp/image/gravatar.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/image/gravatar.el')
-rw-r--r--lisp/image/gravatar.el6
1 files changed, 1 insertions, 5 deletions
diff --git a/lisp/image/gravatar.el b/lisp/image/gravatar.el
index 6628195cfa6..6173c8527eb 100644
--- a/lisp/image/gravatar.el
+++ b/lisp/image/gravatar.el
@@ -77,11 +77,7 @@
(not (file-exists-p (url-cache-create-filename url))))
(t (let ((cache-time (url-is-cached url)))
(if cache-time
- (time-less-p
- (time-add
- cache-time
- gravatar-cache-ttl)
- (current-time))
+ (time-less-p (time-add cache-time gravatar-cache-ttl) nil)
t)))))
(defun gravatar-get-data ()