Mercurial > hg > xemacs-beta
diff lisp/w3/url.el @ 110:fe104dbd9147 r20-1b7
Import from CVS: tag r20-1b7
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:19:45 +0200 |
parents | 360340f9fd5f |
children | 8619ce7e4c50 |
line wrap: on
line diff
--- a/lisp/w3/url.el Mon Aug 13 09:18:41 2007 +0200 +++ b/lisp/w3/url.el Mon Aug 13 09:19:45 2007 +0200 @@ -1,13 +1,13 @@ ;;; url.el --- Uniform Resource Locator retrieval tool ;; Author: wmperry -;; Created: 1997/03/05 23:37:22 -;; Version: 1.61 +;; Created: 1997/03/09 06:19:51 +;; Version: 1.62 ;; Keywords: comm, data, processes, hypermedia ;;; LCD Archive Entry: ;;; url|William M. Perry|wmperry@cs.indiana.edu| ;;; Functions for retrieving/manipulating URLs| -;;; 1997/03/05 23:37:22|1.61|Location Undetermined +;;; 1997/03/09 06:19:51|1.62|Location Undetermined ;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -1598,6 +1598,9 @@ (let ((count 0)) (cl-maphash (function (lambda (key value) + (while (string-match "[\r\n]+" key) + (setq key (concat (substring key 0 (match-beginning 0)) + (substring key (match-end 0) nil)))) (setq count (1+ count)) (insert "(cl-puthash \"" key "\"" (if (not (stringp value)) " '" "") @@ -1949,7 +1952,8 @@ "<p><address>William Perry</address><br>" "<address>" url-bug-address "</address>")) (cond - ((and url-be-asynchronous (not cached) (member type '("http" "proxy"))) + ((and url-be-asynchronous (not cached) + (member type '("http" "https" "proxy"))) nil) ((and url-be-asynchronous (get-buffer url-working-buffer)) (funcall url-default-retrieval-proc (buffer-name)))