diff options
| author | Juanma Barranquero | 2007-09-25 10:42:46 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2007-09-25 10:42:46 +0000 |
| commit | 6fd09e198480167b8a3baa8c8f0b7543706eb2d9 (patch) | |
| tree | b20e8d2d2c0d73a11a1c96442bdff6e667904e97 | |
| parent | c04c01ca0d0e491855e55bcfd16a49dbd0f779a9 (diff) | |
| download | emacs-6fd09e198480167b8a3baa8c8f0b7543706eb2d9.tar.gz emacs-6fd09e198480167b8a3baa8c8f0b7543706eb2d9.zip | |
(auto-insert): Use `mapc' rather than `mapcar'.
| -rw-r--r-- | lisp/autoinsert.el | 2 |
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'." | |||
| 272 | (eq this-command 'auto-insert)) | 272 | (eq this-command 'auto-insert)) |
| 273 | (y-or-n-p (format auto-insert-prompt desc))) | 273 | (y-or-n-p (format auto-insert-prompt desc))) |
| 274 | t) | 274 | t) |
| 275 | (mapcar | 275 | (mapc |
| 276 | (lambda (action) | 276 | (lambda (action) |
| 277 | (if (stringp action) | 277 | (if (stringp action) |
| 278 | (if (file-readable-p | 278 | (if (file-readable-p |