[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] feature/async-dns 2048477 2/3: Use :nowait t in url-gw
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] feature/async-dns 2048477 2/3: Use :nowait t in url-gw |
Date: |
Mon, 15 Feb 2016 05:16:47 +0000 |
branch: feature/async-dns
commit 204847702b925b5e2377a0a12278308657674af7
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
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 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/lisp/url/url-gw.el b/lisp/url/url-gw.el
index 4d1dce6..8bd35a5 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))