From: Juanma Barranquero Date: Tue, 25 Sep 2007 10:45:04 +0000 (+0000) Subject: (dired-restore-desktop-buffer): Use `mapc' rather than `mapcar'. X-Git-Tag: emacs-pretest-23.0.90~10680 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6ba03ad99393fee3826c5e7bd9de1de426df2d88;p=emacs.git (dired-restore-desktop-buffer): Use `mapc' rather than `mapcar'. --- 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))