[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/with-url 23a185a 3/3: Fix typo in last change.
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] scratch/with-url 23a185a 3/3: Fix typo in last change. |
Date: |
Mon, 23 Jan 2017 21:54:23 +0000 (UTC) |
branch: scratch/with-url
commit 23a185ad11e297c27ac4242a212b78a2fd50b49c
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Fix typo in last change.
---
lisp/url/with-url.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/url/with-url.el b/lisp/url/with-url.el
index 7107c05..82b72b4 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))))))