From 7ee54def434389f580b0a620d08501b635e3de44 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 18 Sep 2010 13:43:13 -0700 Subject: [PATCH] * lisp/url/url-cache.el (url-is-cached): Doc fix. --- lisp/url/ChangeLog | 4 ++++ lisp/url/url-cache.el | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index c8defd459cd..90533fa297c 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog @@ -1,3 +1,7 @@ +2010-09-18 Glenn Morris + + * url-cache.el (url-is-cached): Doc fix. + 2010-09-11 Julien Danjou * url-cache (url-store-in-cache): Make `buff' argument really optional. diff --git a/lisp/url/url-cache.el b/lisp/url/url-cache.el index ebd9f6123ff..19b2442f584 100644 --- a/lisp/url/url-cache.el +++ b/lisp/url/url-cache.el @@ -1,7 +1,7 @@ ;;; url-cache.el --- Uniform Resource Locator retrieval tool -;; Copyright (C) 1996, 1997, 1998, 1999, 2004, -;; 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +;; Copyright (C) 1996, 1997, 1998, 1999, 2004, 2005, 2006, 2007, 2008, +;; 2009, 2010 Free Software Foundation, Inc. ;; Keywords: comm, data, processes, hypermedia @@ -70,7 +70,8 @@ FILE can be created or overwritten." ;;;###autoload (defun url-is-cached (url) - "Return non-nil if the URL is cached." + "Return non-nil if the URL is cached. +The actual return value is the last modification time of the cache file." (let* ((fname (url-cache-create-filename url)) (attribs (file-attributes fname))) (and fname ; got a filename -- 2.39.2