desktop-save-mode to automatically open the files that I had opened in the last session. This mode should also remember the files that I closed so that it no longer opens them in the next session. However, there is one file, say
a.tex, that gets opened every time I start emacs regardless of having closed it in the last session. Interestingly, if I run emacs with the
--no-desktop flag, the file
a.tex doesn't get opened automatically. Why is
desktop-mode opening the file? How can I debug this issue?