From 23a185ad11e297c27ac4242a212b78a2fd50b49c Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 23 Jan 2017 22:00:06 +0100 Subject: Fix typo in last change. --- lisp/url/with-url.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp/url/with-url.el') diff --git a/lisp/url/with-url.el b/lisp/url/with-url.el index 7107c050c16..82b72b42079 100644 --- a/lisp/url/with-url.el +++ b/lisp/url/with-url.el @@ -835,7 +835,8 @@ If the headers don't allow caching, nothing will be done." (dolist (file (directory-files-recursively (expand-file-name "url/cached" user-emacs-directory) "\\`[a-z0-9]+\\'")) - (when (time-less-p (file-attribute-modification-time file) cutoff) + (when (time-less-p + (file-attribute-modification-time (file-attributes file)) cutoff) (ignore-errors (delete-file file)))))) -- cgit v1.2.1