Eli Zaretskii writes: [...] > Sounds right, but don't you get byte-compiler warnings about > desktop-files-not-to-save not being known? I did not get a warning about desktop-files-not-to-save but I get one about shadowing dired-directory. So I fixed the patch with this new one.