]> git.eshelyaron.com Git - emacs.git/commitdiff
Use :nowait t in url-gw
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 15 Feb 2016 04:59:49 +0000 (15:59 +1100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 15 Feb 2016 04:59:49 +0000 (15:59 +1100)
* lisp/url/url-gw.el (url-open-stream): Just use :nowait t,
since we're not differentiating.

lisp/url/url-gw.el

index 4d1dce68cbe441632a3112c8db26b07b4b113581..8bd35a53778a584f58ee929cc77aaceff97f489b 100644 (file)
@@ -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))