From: Lars Ingebrigtsen Date: Mon, 15 Feb 2016 04:59:49 +0000 (+1100) Subject: Use :nowait t in url-gw X-Git-Tag: emacs-26.0.90~2520^2~21 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=204847702b925b5e2377a0a12278308657674af7;p=emacs.git Use :nowait t in url-gw * lisp/url/url-gw.el (url-open-stream): Just use :nowait t, since we're not differentiating. --- diff --git a/lisp/url/url-gw.el b/lisp/url/url-gw.el index 4d1dce68cbe..8bd35a53778 100644 --- a/lisp/url/url-gw.el +++ b/lisp/url/url-gw.el @@ -245,10 +245,9 @@ overriding the value of `url-gateway-method'." name buffer host service :type gw-method ;; Use non-blocking socket if we can. - :nowait (and (featurep 'make-network-process - '(:nowait t)) - 'dns))) - (`socks + :nowait (featurep 'make-network-process + '(:nowait t)))) + (`socks (socks-open-network-stream name buffer host service)) (`telnet (url-open-telnet name buffer host service))