emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r101579: * doc/misc/url.texi (Disk Ca


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r101579: * doc/misc/url.texi (Disk Caching): Tweak previous change.
Date: Thu, 23 Sep 2010 19:38:11 -0700
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 101579
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Thu 2010-09-23 19:38:11 -0700
message:
  * doc/misc/url.texi (Disk Caching): Tweak previous change.
modified:
  doc/misc/ChangeLog
  doc/misc/url.texi
=== modified file 'doc/misc/ChangeLog'
--- a/doc/misc/ChangeLog        2010-09-24 02:34:56 +0000
+++ b/doc/misc/ChangeLog        2010-09-24 02:38:11 +0000
@@ -1,3 +1,7 @@
+2010-09-24  Glenn Morris  <address@hidden>
+
+       * url.texi (Disk Caching): Tweak previous change.
+
 2010-09-24  Julien Danjou  <address@hidden>
 
        * url.texi (Disk Caching): Mention url-cache-expire-time,

=== modified file 'doc/misc/url.texi'
--- a/doc/misc/url.texi 2010-09-24 02:34:56 +0000
+++ b/doc/misc/url.texi 2010-09-24 02:38:11 +0000
@@ -740,11 +740,6 @@
 @code{url-cache-create-filename-human-readable}.
 @end defopt
 
address@hidden url-cache-expire-time
-This variable defines a default time value to use as expire delay when
-checking if an URL has expired with @code{url-cache-expired}.
address@hidden defopt
-
 @defun url-cache-create-filename-using-md5 url
 Creates a cache file name from @var{url} using MD5 hashing.
 This is creates entries with very few cache collisions and is fast.
@@ -766,16 +761,19 @@
 @end defun
 
 @defun url-cache-expired
-This is a function to decide whether or not a cache entry has expired.
-It takes a an URL as it first parameters and a expiration delay in
-second paramater. It returns address@hidden if URL is not cached or is
-cached for more than the give expiration delay. If the delay is not
-used, @var{url-cache-expire-time} is used instead.
+This function returns non-nil if a cache entry has expired (or is absent).
+The arguments are a URL and optional expiration delay in seconds
+(default @var{url-cache-expire-time}).
 @end defun
 
address@hidden url-cache-expire-time
+This variable is the default number of seconds to use for the
+expire-time argument of the function @code{url-cache-expired}.
address@hidden defopt
+
 @defun url-fetch-from-cache
-This function takes an URL as its first argument and then returns a
-buffer containing the data cached for the given URL.
+This function takes a URL as its argument and returns a buffer
+containing the data cached for that URL.
 @end defun
 
 @c Fixme: never actually used currently?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]