diff lisp/w3/url.el @ 185:3d6bfa290dbd r20-3b19

Import from CVS: tag r20-3b19
author cvs
date Mon, 13 Aug 2007 09:55:28 +0200
parents 5a88923fcbfe
children 489f57a838ef
line wrap: on
line diff
--- a/lisp/w3/url.el	Mon Aug 13 09:54:24 2007 +0200
+++ b/lisp/w3/url.el	Mon Aug 13 09:55:28 2007 +0200
@@ -1,13 +1,13 @@
 ;;; url.el --- Uniform Resource Locator retrieval tool
 ;; Author: wmperry
-;; Created: 1997/06/10 05:26:37
-;; Version: 1.79
+;; Created: 1997/07/14 05:15:29
+;; Version: 1.80
 ;; Keywords: comm, data, processes, hypermedia
 
 ;;; LCD Archive Entry:
 ;;; url|William M. Perry|wmperry@cs.indiana.edu|
 ;;; Functions for retrieving/manipulating URLs|
-;;; 1997/06/10 05:26:37|1.79|Location Undetermined
+;;; 1997/07/14 05:15:29|1.80|Location Undetermined
 ;;;
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -1902,7 +1902,9 @@
     ;; Not sure how I should handle gracefully degrading from one proxy to
     ;; another, so for now just deal with the first one
     ;; (while proxies
-    (setq proxy (pop proxies))
+    (if (listp proxies)
+	(setq proxy (pop proxies))
+      (setq proxy proxies))
     (cond
      ((string-match "^direct" proxy) nil)
      ((string-match "^proxy +" proxy)