From d6a0426625234e201b1df4514fdf735bca614463 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Fri, 13 Sep 2013 00:01:55 -0700 Subject: 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. --- lisp/url/url-http.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/url/url-http.el') 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 -- cgit v1.2.3