summaryrefslogtreecommitdiff
path: root/lisp/image
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/image')
-rw-r--r--lisp/image/compface.el2
-rw-r--r--lisp/image/gravatar.el8
2 files changed, 3 insertions, 7 deletions
diff --git a/lisp/image/compface.el b/lisp/image/compface.el
index f4c3d5f4df0..ccbd0a3e3b5 100644
--- a/lisp/image/compface.el
+++ b/lisp/image/compface.el
@@ -18,7 +18,7 @@
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
-;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
diff --git a/lisp/image/gravatar.el b/lisp/image/gravatar.el
index 54ca3be96ae..6173c8527eb 100644
--- a/lisp/image/gravatar.el
+++ b/lisp/image/gravatar.el
@@ -18,7 +18,7 @@
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
-;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
@@ -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 ()