1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

(command-line): Must check that x-session-previous-id

is bound also, for non-X platforms.
This commit is contained in:
Jan Djärv 2002-03-12 19:13:52 +00:00
parent 8460b6897b
commit 70646cf0fc

View file

@ -1033,8 +1033,8 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
;; 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.