Mercurial > emacs
changeset 43865:bb2729709a8a
(command-line): Must check that x-session-previous-id
is bound also, for non-X platforms.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Tue, 12 Mar 2002 19:13:52 +0000 |
parents | ecb4683e36bc |
children | 9ec4ee6f4529 |
files | lisp/startup.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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.