aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2007-04-13 14:52:03 +0000
committerChong Yidong2007-04-13 14:52:03 +0000
commit2faae86bd7a2bb27b3bb810ff1c6eb4c5b3181b8 (patch)
treeebb3173bc43ed0436e1fe5af8d42cb501315f6d6
parent0989e7651da701b21da11e03759b73d72ff4ac2a (diff)
downloademacs-2faae86bd7a2bb27b3bb810ff1c6eb4c5b3181b8.tar.gz
emacs-2faae86bd7a2bb27b3bb810ff1c6eb4c5b3181b8.zip
(url-max-redirections): New var.
-rw-r--r--lisp/url/url-vars.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/url/url-vars.el b/lisp/url/url-vars.el
index 705eb947001..d0bd9a84c05 100644
--- a/lisp/url/url-vars.el
+++ b/lisp/url/url-vars.el
@@ -320,6 +320,12 @@ undefined."
320 "\\`\\([-a-zA-Z0-9+.]+:\\)" 320 "\\`\\([-a-zA-Z0-9+.]+:\\)"
321 "A regular expression that will match an absolute URL.") 321 "A regular expression that will match an absolute URL.")
322 322
323(defcustom url-max-redirections 30
324 "*The maximum number of redirection requests to honor in a HTTP connection.
325A negative number means to honor an unlimited number of redirection requests."
326 :type 'integer
327 :group 'url)
328
323(defcustom url-confirmation-func 'y-or-n-p 329(defcustom url-confirmation-func 'y-or-n-p
324 "*What function to use for asking yes or no functions. 330 "*What function to use for asking yes or no functions.
325Possible values are `yes-or-no-p' or `y-or-n-p', or any function that 331Possible values are `yes-or-no-p' or `y-or-n-p', or any function that