aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sx-encoding.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/sx-encoding.el b/sx-encoding.el
index 98f3a7c..0b72365 100644
--- a/sx-encoding.el
+++ b/sx-encoding.el
@@ -101,7 +101,7 @@ See `gzip-check-magic' for details."
(set-buffer-multibyte nil)
(insert-file-contents-literally file nil 0 2)
(buffer-string))))
- (gzip-check-magic first-two-bytes)))
+ (sx-encoding-gzipped-p first-two-bytes)))
(provide 'sx-encoding)
;;; sx-encoding.el ends here