Mercurial > emacs
changeset 84860:a853167e2059
(dired-restore-desktop-buffer): Use `mapc' rather than `mapcar'.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Tue, 25 Sep 2007 10:45:04 +0000 |
parents | 4795469428b3 |
children | a2b33caadccd |
files | lisp/dired.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/dired.el Tue Sep 25 10:44:23 2007 +0000 +++ b/lisp/dired.el Tue Sep 25 10:45:04 2007 +0000 @@ -3336,7 +3336,7 @@ (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))