]> code.delx.au - gnu-emacs/commitdiff
(image-dired-display-thumbs, image-dired-remove-tag,
authorJuanma Barranquero <lekktu@gmail.com>
Tue, 25 Sep 2007 11:09:30 +0000 (11:09 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Tue, 25 Sep 2007 11:09:30 +0000 (11:09 +0000)
image-dired-mark-tagged-files): Use `mapc' rather than `mapcar'.

lisp/image-dired.el

index c2c2a1476da5069ee8bcc5ccfbb9b90e0e5adb9f..dd185ae169f35274f29e3dcd77f0b5a259bb5381 100644 (file)
@@ -820,7 +820,7 @@ thumbnail buffer to be selected."
         (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 @@ is an alist in the following form:
           (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 @@ matching tags will be marked in the dired buffer."
         (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)