From: Tao Fang Date: Mon, 25 Apr 2016 23:24:44 +0000 (+0200) Subject: Fix: (void-variable url-http-response-status) X-Git-Tag: emacs-26.0.90~2145 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7b9a5c2a451781f674f0a7ebd71f1061a174f627;p=emacs.git Fix: (void-variable url-http-response-status) * lisp/url/url-http.el (url-https-proxy-after-change-function): Display the error message before doing the callback to avoid a void variable situation (bug#23290). --- diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 23cd69590dc..d0f8364e8ef 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el @@ -1379,8 +1379,8 @@ The return value of this function is the retrieval buffer." (error "error: %s" e))) (error "error: gnutls support needed!"))) (t - (url-http-activate-callback) - (message "error response: %d" url-http-response-status)))))) + (message "error response: %d" url-http-response-status) + (url-http-activate-callback)))))) (defun url-http-async-sentinel (proc why) ;; We are performing an asynchronous connection, and a status change