aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen2016-03-01 14:49:26 +1100
committerLars Ingebrigtsen2016-03-01 14:49:26 +1100
commit144bb0cf322b9756d29def3e27a42303e2edce43 (patch)
treed2e09175c914fe80faaaf59a0abc7c6dc4d57a9c /lisp
parent65fa442f2bae42d3f9b06264ca432073ee3197c3 (diff)
downloademacs-144bb0cf322b9756d29def3e27a42303e2edce43.tar.gz
emacs-144bb0cf322b9756d29def3e27a42303e2edce43.zip
Allow binding `url-mime-accept-string'
* lisp/url/url-http.el (url-http): Allow binding `url-mime-accept-string' (bug#22855).
Diffstat (limited to 'lisp')
-rw-r--r--lisp/url/url-http.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
index d49e527fe4b..33f6d11eef3 100644
--- a/lisp/url/url-http.el
+++ b/lisp/url/url-http.el
@@ -1210,6 +1210,7 @@ The return value of this function is the retrieval buffer."
1210 (and (boundp 'url-http-noninteractive) 1210 (and (boundp 'url-http-noninteractive)
1211 url-http-noninteractive))) 1211 url-http-noninteractive)))
1212 (connection (url-http-find-free-connection host port gateway-method)) 1212 (connection (url-http-find-free-connection host port gateway-method))
1213 (mime-accept-string url-mime-accept-string)
1213 (buffer (or retry-buffer 1214 (buffer (or retry-buffer
1214 (generate-new-buffer 1215 (generate-new-buffer
1215 (format " *http %s:%d*" host port))))) 1216 (format " *http %s:%d*" host port)))))
@@ -1245,6 +1246,7 @@ The return value of this function is the retrieval buffer."
1245 url-http-target-url 1246 url-http-target-url
1246 url-http-no-retry 1247 url-http-no-retry
1247 url-http-connection-opened 1248 url-http-connection-opened
1249 url-mime-accept-string
1248 url-http-proxy)) 1250 url-http-proxy))
1249 (set (make-local-variable var) nil)) 1251 (set (make-local-variable var) nil))
1250 1252
@@ -1262,6 +1264,7 @@ The return value of this function is the retrieval buffer."
1262 url-http-target-url url-current-object 1264 url-http-target-url url-current-object
1263 url-http-no-retry retry-buffer 1265 url-http-no-retry retry-buffer
1264 url-http-connection-opened nil 1266 url-http-connection-opened nil
1267 url-mime-accept-string mime-accept-string
1265 url-http-proxy url-using-proxy) 1268 url-http-proxy url-using-proxy)
1266 1269
1267 (set-process-buffer connection buffer) 1270 (set-process-buffer connection buffer)