I added (desktop-save-mode 1)
to my custom.el
towards the end to save buffers and frames. But I primarily use emacs --daemon
and start an emacsclient -t
. For some reason, if I use just Emacs the desktop-save-mode works but if I use the emacsclient, when I exit the client and return the buffers from the previous session load for a split second and are replaced by the *scratch*
buffer.
Please let me know what I'm doing wrong or if there's a setting I can add.
Thanks!!
I've read the following posts but it seems the OP below fixed the problem by killing the emacsclient which I don't want to do. Using desktop-mode with Emacs Daemon