aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/url
diff options
context:
space:
mode:
authorLars Ingebrigtsen2016-02-16 13:01:05 +1100
committerLars Ingebrigtsen2016-02-16 13:01:05 +1100
commit7f3441cc3335b5faf7cb52458256dbbbaaaf9fa7 (patch)
tree8a2accf5bdd6d2623c05d7098b442722f8361260 /lisp/url
parent2d7af7e206c746bc774ae34de88dc2c20ea1b07d (diff)
downloademacs-7f3441cc3335b5faf7cb52458256dbbbaaaf9fa7.tar.gz
emacs-7f3441cc3335b5faf7cb52458256dbbbaaaf9fa7.zip
Do most of the coding system setup earlier
* src/process.c (Fmake_network_process): Set the read/write coding systems here, so that special bindings work. (Fmake_network_process): Complete the coding system setup here.
Diffstat (limited to 'lisp/url')
-rw-r--r--lisp/url/url-gw.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/url/url-gw.el b/lisp/url/url-gw.el
index 8bd35a53778..2b552df69d9 100644
--- a/lisp/url/url-gw.el
+++ b/lisp/url/url-gw.el
@@ -246,7 +246,7 @@ overriding the value of `url-gateway-method'."
246 :type gw-method 246 :type gw-method
247 ;; Use non-blocking socket if we can. 247 ;; Use non-blocking socket if we can.
248 :nowait (featurep 'make-network-process 248 :nowait (featurep 'make-network-process
249 '(:nowait t)))) 249 '(:nowait t))))
250 (`socks 250 (`socks
251 (socks-open-network-stream name buffer host service)) 251 (socks-open-network-stream name buffer host service))
252 (`telnet 252 (`telnet
@@ -256,6 +256,7 @@ overriding the value of `url-gateway-method'."
256 (_ 256 (_
257 (error "Bad setting of url-gateway-method: %s" 257 (error "Bad setting of url-gateway-method: %s"
258 url-gateway-method)))))) 258 url-gateway-method))))))
259 (message "Coding system: %s" (process-coding-system conn))
259 conn))) 260 conn)))
260 261
261(provide 'url-gw) 262(provide 'url-gw)