Commit 581bba23 authored by Richard M. Stallman's avatar Richard M. Stallman

(desktop-buffer-dired): Use dired-maybe-insert-subdir.

parent 02062ac3
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment