emacs-session-filename
emacs-session-filename is a compiled Lisp function in `x-win.el
'.
(emacs-session-filename SESSION-ID)
Construct a filename to save the session in based on SESSION-ID.
Return a filename in `user-emacs-directory', unless the session file
already exists in the home directory.