Mercurial > emacs
changeset 110522:4bca1a43c0d3
* lisp/url/url-cache.el (url-is-cached): Doc fix.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 18 Sep 2010 13:43:13 -0700 |
parents | 1cdff3b101d6 |
children | a5ad4f188e19 |
files | lisp/url/ChangeLog lisp/url/url-cache.el |
diffstat | 2 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/url/ChangeLog Fri Sep 17 11:58:44 2010 +0200 +++ b/lisp/url/ChangeLog Sat Sep 18 13:43:13 2010 -0700 @@ -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.
--- a/lisp/url/url-cache.el Fri Sep 17 11:58:44 2010 +0200 +++ b/lisp/url/url-cache.el Sat Sep 18 13:43:13 2010 -0700 @@ -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 @@ ;;;###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