I have set the following things in my .el file (not init.el):
(setq desktop-dirname "~/.emacs.d/desktop/" desktop-base-file-name "emacs.desktop" desktop-base-lock-name "lock" desktop-path (list desktop-dirname) desktop-save t desktop-files-not-to-save "^$" ;reload tramp paths desktop-load-locked-desktop nil desktop-auto-save-timeout 30) (desktop-save-mode 1)
Although the desktop file is saved/updated to
~/.emacs.d/desktop the following happens. When I try to close emacs I get the following message:
"Current desktop was not loaded from a file. Overwrite this desktop file?"
Even if I choose to overwrite it (and close emacs), the exact same thing happens the next time closing emacs.