From: Richard M. Stallman Date: Mon, 26 Oct 1998 05:00:27 +0000 (+0000) Subject: (desktop-buffer-dired): Use dired-maybe-insert-subdir. X-Git-Tag: emacs-20.4~1408 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=581bba23d414027a628fa9a027c55982053a96e3;p=emacs.git (desktop-buffer-dired): Use dired-maybe-insert-subdir. --- diff --git a/lisp/desktop.el b/lisp/desktop.el index 3951f8eff2c..15c1c3d4c1d 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el @@ -574,7 +574,7 @@ to provide correct modes for autoloaded files." (if (file-directory-p (file-name-directory (car desktop-buffer-misc))) (progn (dired (car desktop-buffer-misc)) - (mapcar 'dired-insert-subdir (cdr desktop-buffer-misc)) + (mapcar 'dired-maybe-insert-subdir (cdr desktop-buffer-misc)) (current-buffer)) (message "Directory %s no longer exists." (car desktop-buffer-misc)) (sit-for 1)