diff options
author | Glenn Morris <rgm@gnu.org> | 2010-09-18 13:43:13 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2010-09-18 13:43:13 -0700 |
commit | 7ee54def434389f580b0a620d08501b635e3de44 (patch) | |
tree | 93fce6647ce72d168e3958378033ed336451e0ad /lisp | |
parent | 2b5b82db4975fdfa2818d9184a026d041a941263 (diff) | |
download | emacs-7ee54def434389f580b0a620d08501b635e3de44.tar.gz |
* lisp/url/url-cache.el (url-is-cached): Doc fix.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/url/ChangeLog | 4 | ||||
-rw-r--r-- | 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 <rgm@gnu.org> + + * url-cache.el (url-is-cached): Doc fix. + 2010-09-11 Julien Danjou <julien@danjou.info> * 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 |