summaryrefslogtreecommitdiff
path: root/lisp/url/url-http.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-09-13 00:01:55 -0700
committerGlenn Morris <rgm@gnu.org>2013-09-13 00:01:55 -0700
commitd6a0426625234e201b1df4514fdf735bca614463 (patch)
tree24633c62ecebaa94b7ac90aedd2e56d3e540b765 /lisp/url/url-http.el
parent35ffc6ba91d41fab2e370ddb7587ad7fc17bd25b (diff)
downloademacs-d6a0426625234e201b1df4514fdf735bca614463.tar.gz
emacs-d6a0426625234e201b1df4514fdf735bca614463.tar.bz2
emacs-d6a0426625234e201b1df4514fdf735bca614463.zip
Silence some url compilation warnings on systems without zlib
* url-http.el (url-handle-content-transfer-encoding): * url-vars.el (url-mime-encoding-string): Silence compiler.
Diffstat (limited to 'lisp/url/url-http.el')
-rw-r--r--lisp/url/url-http.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
index 7047e6b5f13..4f9e868c05e 100644
--- a/lisp/url/url-http.el
+++ b/lisp/url/url-http.el
@@ -861,7 +861,7 @@ should be shown to the user."
(defun url-handle-content-transfer-encoding ()
(let ((encoding (mail-fetch-field "content-encoding")))
(when (and encoding
- (fboundp 'zlib-decompress-region)
+ (fboundp 'zlib-available-p)
(zlib-available-p)
(equal (downcase encoding) "gzip"))
(save-restriction