summaryrefslogtreecommitdiff
path: root/lisp/url/url-cache.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2010-09-18 13:43:13 -0700
committerGlenn Morris <rgm@gnu.org>2010-09-18 13:43:13 -0700
commit7ee54def434389f580b0a620d08501b635e3de44 (patch)
tree93fce6647ce72d168e3958378033ed336451e0ad /lisp/url/url-cache.el
parent2b5b82db4975fdfa2818d9184a026d041a941263 (diff)
downloademacs-7ee54def434389f580b0a620d08501b635e3de44.tar.gz
* lisp/url/url-cache.el (url-is-cached): Doc fix.
Diffstat (limited to 'lisp/url/url-cache.el')
-rw-r--r--lisp/url/url-cache.el7
1 files changed, 4 insertions, 3 deletions
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