summaryrefslogtreecommitdiff
path: root/lisp/dired.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2007-09-25 10:45:04 +0000
committerJuanma Barranquero <lekktu@gmail.com>2007-09-25 10:45:04 +0000
commit6ba03ad99393fee3826c5e7bd9de1de426df2d88 (patch)
tree6eacf1cd69ced25d55f3f9596cfa0135add09740 /lisp/dired.el
parent52a17143257cf296770e1f77916f28024692cc28 (diff)
downloademacs-6ba03ad99393fee3826c5e7bd9de1de426df2d88.tar.gz
(dired-restore-desktop-buffer): Use `mapc' rather than `mapcar'.
Diffstat (limited to 'lisp/dired.el')
-rw-r--r--lisp/dired.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index d263f0b3044..3cd8821484e 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -3336,7 +3336,7 @@ Ask means pop up a menu for the user to select one of copy, move or link."
(dired dired-dir)
;; The following elements of `desktop-buffer-misc' are the keys
;; from `dired-subdir-alist'.
- (mapcar 'dired-maybe-insert-subdir (cdr desktop-buffer-misc))
+ (mapc 'dired-maybe-insert-subdir (cdr desktop-buffer-misc))
(current-buffer))
(message "Desktop: Directory %s no longer exists." dir)
(when desktop-missing-file-warning (sit-for 1))