Eli Zaretskii writes: [...] > Doesn't this tell that the problem is in dired.el, not in desktop.el? > The problematic call comes from dired-desktop-buffer-misc-data, not > from desktop.el. So it's dired-desktop-buffer-misc-data that needs to > be fixed. So I work a bit on 'dired-desktop-buffer-misc-data' and have the following solution: