From: Juanma Barranquero Date: Tue, 25 Sep 2007 10:42:46 +0000 (+0000) Subject: (auto-insert): Use `mapc' rather than `mapcar'. X-Git-Tag: emacs-pretest-23.0.90~10683 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6fd09e198480167b8a3baa8c8f0b7543706eb2d9;p=emacs.git (auto-insert): Use `mapc' rather than `mapcar'. --- diff --git a/lisp/autoinsert.el b/lisp/autoinsert.el index 91bfb396b0e..f2ae7a5b4fd 100644 --- a/lisp/autoinsert.el +++ b/lisp/autoinsert.el @@ -272,7 +272,7 @@ Matches the visited file name against the elements of `auto-insert-alist'." (eq this-command 'auto-insert)) (y-or-n-p (format auto-insert-prompt desc))) t) - (mapcar + (mapc (lambda (action) (if (stringp action) (if (file-readable-p