diff options
| author | Stefan Monnier | 2004-04-12 04:04:21 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2004-04-12 04:04:21 +0000 |
| commit | 39c541030ed5051e508f7f4d30ce9b180fb62e46 (patch) | |
| tree | ad2fc71736add0f5ca308468c06ff710bf43c38e /lisp/url/url-https.el | |
| parent | ad8c3ee06789bfc57975cefbfc27139d8f126a1c (diff) | |
| download | emacs-39c541030ed5051e508f7f4d30ce9b180fb62e46.tar.gz emacs-39c541030ed5051e508f7f4d30ce9b180fb62e46.zip | |
(url-https-create-secure-wrapper): Use modern backquotes.
Diffstat (limited to 'lisp/url/url-https.el')
| -rw-r--r-- | lisp/url/url-https.el | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lisp/url/url-https.el b/lisp/url/url-https.el index 9754cd1b976..0ea11a45b79 100644 --- a/lisp/url/url-https.el +++ b/lisp/url/url-https.el | |||
| @@ -33,14 +33,14 @@ | |||
| 33 | (defalias 'url-https-expand-file-name 'url-http-expand-file-name) | 33 | (defalias 'url-https-expand-file-name 'url-http-expand-file-name) |
| 34 | 34 | ||
| 35 | (defmacro url-https-create-secure-wrapper (method args) | 35 | (defmacro url-https-create-secure-wrapper (method args) |
| 36 | (` (defun (, (intern (format (if method "url-https-%s" "url-https") method))) (, args) | 36 | `(defun ,(intern (format (if method "url-https-%s" "url-https") method)) ,args |
| 37 | (, (format "HTTPS wrapper around `%s' call." (or method "url-http"))) | 37 | ,(format "HTTPS wrapper around `%s' call." (or method "url-http")) |
| 38 | (condition-case () | 38 | (condition-case () |
| 39 | (require 'ssl) | 39 | (require 'ssl) |
| 40 | (error | 40 | (error |
| 41 | (error "HTTPS support could not find `ssl' library."))) | 41 | (error "HTTPS support could not find `ssl' library"))) |
| 42 | (let ((url-gateway-method 'ssl)) | 42 | (let ((url-gateway-method 'ssl)) |
| 43 | ((, (intern (format (if method "url-http-%s" "url-http") method))) (,@ (remove '&rest (remove '&optional args)))))))) | 43 | ( ,(intern (format (if method "url-http-%s" "url-http") method)) ,@(remove '&rest (remove '&optional args)))))) |
| 44 | 44 | ||
| 45 | (url-https-create-secure-wrapper nil (url callback cbargs)) | 45 | (url-https-create-secure-wrapper nil (url callback cbargs)) |
| 46 | (url-https-create-secure-wrapper file-exists-p (url)) | 46 | (url-https-create-secure-wrapper file-exists-p (url)) |