From 1e730aa1b56f5343629225f60ec9c04f4dc4b703 Mon Sep 17 00:00:00 2001 From: Sean Allred Date: Thu, 27 Nov 2014 12:02:24 -0500 Subject: Fix #114 --- sx-encoding.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sx-encoding.el') diff --git a/sx-encoding.el b/sx-encoding.el index f683615..0e8a5e2 100644 --- a/sx-encoding.el +++ b/sx-encoding.el @@ -145,7 +145,7 @@ See URL `http://www.gzip.org/zlib/rfc-gzip.html'." "Check if BUFFER is gzip-compressed. See `sx-encoding-gzipped-p'." (with-current-buffer buffer - (sx-encoding-gzip-check-magic + (sx-encoding-gzipped-p (buffer-string)))) (defun sx-encoding-gzipped-file-p (file) -- cgit v1.2.3