From 7b9a5c2a451781f674f0a7ebd71f1061a174f627 Mon Sep 17 00:00:00 2001 From: Tao Fang Date: Tue, 26 Apr 2016 01:24:44 +0200 Subject: [PATCH] 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). --- lisp/url/url-http.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2