]> code.delx.au - gnu-emacs/blobdiff - lisp/url/url-cache.el
Update copyright year to 2015
[gnu-emacs] / lisp / url / url-cache.el
index cb0281b87f2a2743221a93ce682815678cccc0ad..8e9d128b56c934001325d78366e6a37f6a904e5c 100644 (file)
@@ -1,6 +1,6 @@
 ;;; url-cache.el --- Uniform Resource Locator retrieval tool
 
-;; Copyright (C) 1996-1999, 2004-2013 Free Software Foundation, Inc.
+;; Copyright (C) 1996-1999, 2004-2015 Free Software Foundation, Inc.
 
 ;; Keywords: comm, data, processes, hypermedia
 
@@ -212,7 +212,7 @@ If `url-standalone-mode' is non-nil, cached items never expire."
   "Remove all expired files from the cache.
 `url-cache-expire-time' says how old a file has to be to be
 considered \"expired\"."
-  (let ((current-time (current-time))
+  (let ((now (current-time))
        (total-files 0)
        (deleted-files 0))
     (setq directory (or directory url-cache-directory))
@@ -228,7 +228,7 @@ considered \"expired\"."
             (time-add
              (nth 5 (file-attributes file))
              (seconds-to-time url-cache-expire-time))
-            current-time)
+            now)
            (delete-file file)
            (setq deleted-files (1+ deleted-files))))))
       (if (< deleted-files total-files)