changeset 110420:1640f0854ab8

* lisp/url/url-vars.el (url-automatic-caching): Remove unused variable.
author Glenn Morris <rgm@gnu.org>
date Sat, 18 Sep 2010 13:49:25 -0700
parents bde55f3d7125
children fac7cd0d50e0
files lisp/url/ChangeLog lisp/url/url-vars.el
diffstat 2 files changed, 4 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/url/ChangeLog	Sat Sep 18 22:27:52 2010 +0200
+++ b/lisp/url/ChangeLog	Sat Sep 18 13:49:25 2010 -0700
@@ -1,3 +1,7 @@
+2010-09-18  Julien Danjou  <julien@danjou.info>
+
+	* url-vars.el (url-automatic-caching): Remove unused variable.
+
 2010-09-14  Julien Danjou  <julien@danjou.info>
 
 	* url-cache (url-store-in-cache): Make `buff' argument really optional.
--- a/lisp/url/url-vars.el	Sat Sep 18 22:27:52 2010 +0200
+++ b/lisp/url/url-vars.el	Sat Sep 18 13:49:25 2010 -0700
@@ -83,15 +83,6 @@
   :type 'boolean
   :group 'url-cache)
 
-;; Fixme: sanitize this.
-(defcustom url-cache-expired
-  (lambda (t1 t2) (>= (- (car t2) (car t1)) 5))
-  "A function determining if a cached item has expired.
-It takes two times (numbers) as its arguments, and returns non-nil if
-the second time is 'too old' when compared to the first time."
-  :type 'function
-  :group 'url-cache)
-
 (defconst url-bug-address "bug-gnu-emacs@gnu.org"
   "Where to send bug reports.")