* lisp/url/url-cache.el (url-is-cached): Doc fix.

This commit is contained in:
Glenn Morris 2010-09-18 13:43:13 -07:00
parent 2b5b82db49
commit 7ee54def43
2 changed files with 8 additions and 3 deletions

View file

@ -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.

View file

@ -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