diff --git a/lisp/url/url.el b/lisp/url/url.el index 00c5740cf8..e40a4ecc29 100644 --- a/lisp/url/url.el +++ b/lisp/url/url.el @@ -211,8 +211,9 @@ url-retrieve-internal (buffer nil) (asynch (url-scheme-get-property (url-type url) 'asynchronous-p))) (if url-using-proxy - (setq asynch t - loader #'url-proxy)) + (progn (setq asynch t + loader #'url-proxy) + (setf (url-asynchronous url) t))) (if asynch (let ((url-current-object url)) (setq buffer (funcall loader url callback cbargs))) -- 2.31.0