# HG changeset patch # User Jan Dj¸«£rv # Date 1015960432 0 # Node ID bb2729709a8a0a6808a32e8ed65443f43897bb5e # Parent ecb4683e36bceb15e20e7688692e60a21be5d72a (command-line): Must check that x-session-previous-id is bound also, for non-X platforms. diff -r ecb4683e36bc -r bb2729709a8a lisp/startup.el --- a/lisp/startup.el Tue Mar 12 18:55:12 2002 +0000 +++ b/lisp/startup.el Tue Mar 12 19:13:52 2002 +0000 @@ -1033,8 +1033,8 @@ ;; 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.