# HG changeset patch # User Juanma Barranquero # Date 1190718570 0 # Node ID e971b563a3eb18a771aaa3e3b39fc0c80fb8fa41 # Parent c62cc793efc7c15f5d2e4f5e4fbe0d5d2f894214 (image-dired-display-thumbs, image-dired-remove-tag, image-dired-mark-tagged-files): Use `mapc' rather than `mapcar'. diff -r c62cc793efc7 -r e971b563a3eb lisp/image-dired.el --- 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)