changeset 84874:e971b563a3eb

(image-dired-display-thumbs, image-dired-remove-tag, image-dired-mark-tagged-files): Use `mapc' rather than `mapcar'.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 25 Sep 2007 11:09:30 +0000
parents c62cc793efc7
children 5aa8734f1e97
files lisp/image-dired.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/image-dired.el	Tue Sep 25 11:08:45 2007 +0000
+++ b/lisp/image-dired.el	Tue Sep 25 11:09:30 2007 +0000
@@ -820,7 +820,7 @@
         (if (not append)
             (erase-buffer)
           (goto-char (point-max)))
-        (mapcar
+        (mapc
          (lambda (curr-file)
            (setq thumb-name (image-dired-thumb-name curr-file))
            (if (and (not (file-exists-p thumb-name))
@@ -918,7 +918,7 @@
           (if (stringp files)
               (setq files (list files))
             (error "Files must be a string or a list of strings!")))
-      (mapcar
+      (mapc
        (lambda (file)
          (goto-char (point-min))
          (when (search-forward-regexp
@@ -2170,7 +2170,7 @@
         (setq files (append (list (match-string 1)) files)))
       (kill-buffer buf)
       ;; Mark files
-      (mapcar
+      (mapc
        ;; I tried using `dired-mark-files-regexp' but it was
        ;; waaaay to slow.
        (lambda (curr-file)