summaryrefslogtreecommitdiff
path: root/lisp/autoinsert.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2007-09-25 10:42:46 +0000
committerJuanma Barranquero <lekktu@gmail.com>2007-09-25 10:42:46 +0000
commit6fd09e198480167b8a3baa8c8f0b7543706eb2d9 (patch)
treeb20e8d2d2c0d73a11a1c96442bdff6e667904e97 /lisp/autoinsert.el
parentc04c01ca0d0e491855e55bcfd16a49dbd0f779a9 (diff)
downloademacs-6fd09e198480167b8a3baa8c8f0b7543706eb2d9.tar.gz
(auto-insert): Use `mapc' rather than `mapcar'.
Diffstat (limited to 'lisp/autoinsert.el')
-rw-r--r--lisp/autoinsert.el2
1 files changed, 1 insertions, 1 deletions
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