1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-08 15:35:02 +00:00

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).
This commit is contained in:
Tao Fang 2016-04-26 01:24:44 +02:00 committed by Lars Magne Ingebrigtsen
parent fd8956d36a
commit 7b9a5c2a45

View File

@ -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