diff options
| author | Glenn Morris | 2012-10-08 00:47:23 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-10-08 00:47:23 -0700 |
| commit | 97fbed87597d0b1b93159095170fb296b307d6b0 (patch) | |
| tree | 5d805d9840d6b0c263a28b905117f589035bab60 | |
| parent | 63820c5c02ecdf5adf099d4a01fb94aa6d2ebae7 (diff) | |
| download | emacs-97fbed87597d0b1b93159095170fb296b307d6b0.tar.gz emacs-97fbed87597d0b1b93159095170fb296b307d6b0.zip | |
Fix for url-https.el neing merged into url-http.el
* lisp/url/url-methods.el (url-scheme-get-property): url-https.el was
merged into url-http.el, so load the latter for https.
Fixes: debbugs:12599
| -rw-r--r-- | lisp/url/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/url/url-methods.el | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index 01248a91cf2..c7fc4fcbfe1 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-10-08 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * url-methods.el (url-scheme-get-property): url-https.el was | ||
| 4 | merged into url-http.el, so load the latter for https. (Bug#12599) | ||
| 5 | |||
| 1 | 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * url-http.el (url-http-user-agent-string): Leak less info. | 8 | * url-http.el (url-http-user-agent-string): Leak less info. |
diff --git a/lisp/url/url-methods.el b/lisp/url/url-methods.el index 26fe72014f7..3168d5aab3f 100644 --- a/lisp/url/url-methods.el +++ b/lisp/url/url-methods.el | |||
| @@ -118,7 +118,9 @@ it has not already been loaded." | |||
| 118 | (let* ((stub (concat "url-" scheme)) | 118 | (let* ((stub (concat "url-" scheme)) |
| 119 | (loader (intern stub))) | 119 | (loader (intern stub))) |
| 120 | (condition-case () | 120 | (condition-case () |
| 121 | (require loader) | 121 | ;; url-https.el was merged into url-http because of 8+3 |
| 122 | ;; filename limitations, so we have to do this dance. | ||
| 123 | (require (if (equal "https" scheme) 'url-http loader)) | ||
| 122 | (error nil)) | 124 | (error nil)) |
| 123 | (if (fboundp loader) | 125 | (if (fboundp loader) |
| 124 | (progn | 126 | (progn |