(jka-compr-get-compression-info): Use mapc' rather than
mapcar'.
This commit is contained in:
parent
991fbc331f
commit
6d2d1b7d22
1 changed files with 1 additions and 1 deletions
|
@ -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))))
|
||||||
|
|
Loading…
Add table
Reference in a new issue