is bound also, for non-X platforms.
;; Run emacs-session-restore (session management) if started by
;; the session manager and we have a session manager connection.
- (if (and (stringp x-session-previous-id) (stringp x-session-id))
- (emacs-session-restore)))
+ (if (and (boundp 'x-session-previous-id) (stringp x-session-previous-id))
+ (emacs-session-restore x-session-previous-id)))
(defcustom initial-scratch-message (purecopy "\
;; This buffer is for notes you don't want to save, and for Lisp evaluation.