From 204847702b925b5e2377a0a12278308657674af7 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 15 Feb 2016 15:59:49 +1100 Subject: [PATCH] Use :nowait t in url-gw * lisp/url/url-gw.el (url-open-stream): Just use :nowait t, since we're not differentiating. --- lisp/url/url-gw.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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)) -- 2.39.5