# HG changeset patch # User Glenn Morris # Date 1285221841 25200 # Node ID 874fdd55f8e93b13f2a03b027f9c849808e6c7f2 # Parent 3501c2b9e71960e4a2c3b2823dff122a8e7cb79e Fix previous url-cache fix. diff -r 3501c2b9e719 -r 874fdd55f8e9 lisp/url/url-cache.el --- a/lisp/url/url-cache.el Wed Sep 22 22:59:20 2010 -0700 +++ b/lisp/url/url-cache.el Wed Sep 22 23:04:01 2010 -0700 @@ -198,12 +198,12 @@ (if url-standalone-mode (not (file-exists-p (url-cache-create-filename url))) (let ((cache-time (url-is-cached url))) - (and cache-time - (time-less-p - (time-add - cache-time - (seconds-to-time (or expire-time url-cache-expire-time))) - (current-time)))))) + (or (not cache-time) + (time-less-p + (time-add + cache-time + (seconds-to-time (or expire-time url-cache-expire-time))) + (current-time)))))) (provide 'url-cache)