emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 7b9a5c2: Fix: (void-variable url-http-response-stat


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 7b9a5c2: Fix: (void-variable url-http-response-status)
Date: Mon, 25 Apr 2016 23:25:25 +0000

branch: master
commit 7b9a5c2a451781f674f0a7ebd71f1061a174f627
Author: Tao Fang <address@hidden>
Commit: Lars Magne Ingebrigtsen <address@hidden>

    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 23cd695..d0f8364 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]