(jka-compr-get-compression-info): Use mapc' rather than mapcar'.

This commit is contained in:
Juanma Barranquero 2007-09-25 11:09:58 +00:00
parent 991fbc331f
commit 6d2d1b7d22

View file

@ -97,7 +97,7 @@ The determination as to which compression scheme, if any, to use is
based on the filename itself and `jka-compr-compression-info-list'." based on the filename itself and `jka-compr-compression-info-list'."
(catch 'compression-info (catch 'compression-info
(let ((case-fold-search nil)) (let ((case-fold-search nil))
(mapcar (mapc
(function (lambda (x) (function (lambda (x)
(and (string-match (jka-compr-info-regexp x) filename) (and (string-match (jka-compr-info-regexp x) filename)
(throw 'compression-info x)))) (throw 'compression-info x))))