]> code.delx.au - gnu-emacs/blobdiff - lisp/jka-cmpr-hook.el
(jka-compr-get-compression-info): Use `mapc' rather than `mapcar'.
[gnu-emacs] / lisp / jka-cmpr-hook.el
index 74525ec4409e603af521340b1372fc4c998d0d3f..8c388d0cb34ffb7630375f7f237a6d3e73e1f754 100644 (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'."
   (catch 'compression-info
     (let ((case-fold-search nil))
-      (mapcar
+      (mapc
        (function (lambda (x)
                   (and (string-match (jka-compr-info-regexp x) filename)
                        (throw 'compression-info x))))