diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2016-02-15 15:59:49 +1100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2016-02-15 15:59:49 +1100 |
commit | 204847702b925b5e2377a0a12278308657674af7 (patch) | |
tree | 512af7a322c4a6dd5bec6e1714db38df40835ee8 /lisp/url/url-gw.el | |
parent | c740d190e857bf63d04ec0d00eeeed23bbd66ace (diff) | |
download | emacs-204847702b925b5e2377a0a12278308657674af7.tar.gz emacs-204847702b925b5e2377a0a12278308657674af7.tar.bz2 emacs-204847702b925b5e2377a0a12278308657674af7.zip |
Use :nowait t in url-gw
* lisp/url/url-gw.el (url-open-stream): Just use :nowait t,
since we're not differentiating.
Diffstat (limited to 'lisp/url/url-gw.el')
-rw-r--r-- | lisp/url/url-gw.el | 7 |
1 files 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)) |