Use :nowait t in url-gw

* lisp/url/url-gw.el (url-open-stream): Just use :nowait t,
since we're not differentiating.
This commit is contained in:
Lars Ingebrigtsen 2016-02-15 15:59:49 +11:00
parent c740d190e8
commit 204847702b

View file

@ -245,9 +245,8 @@ 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)))
:nowait (featurep 'make-network-process
'(:nowait t))))
(`socks
(socks-open-network-stream name buffer host service))
(`telnet