diff options
| -rw-r--r-- | lisp/startup.el | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lisp/startup.el b/lisp/startup.el index b2f60380356..91364af7688 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -236,7 +236,8 @@ This is normally copied from `default-directory' when Emacs starts.") | |||
| 236 | ("--cursor-color" 1 x-handle-switch cursor-color) | 236 | ("--cursor-color" 1 x-handle-switch cursor-color) |
| 237 | ("--vertical-scroll-bars" 0 x-handle-switch vertical-scroll-bars t) | 237 | ("--vertical-scroll-bars" 0 x-handle-switch vertical-scroll-bars t) |
| 238 | ("--line-spacing" 1 x-handle-numeric-switch line-spacing) | 238 | ("--line-spacing" 1 x-handle-numeric-switch line-spacing) |
| 239 | ("--border-color" 1 x-handle-switch border-width)) | 239 | ("--border-color" 1 x-handle-switch border-width) |
| 240 | ("--smid" 1 x-handle-smid)) | ||
| 240 | "Alist of X Windows options. | 241 | "Alist of X Windows options. |
| 241 | Each element has the form | 242 | Each element has the form |
| 242 | (NAME NUMARGS HANDLER FRAME-PARAM VALUE) | 243 | (NAME NUMARGS HANDLER FRAME-PARAM VALUE) |
| @@ -1028,7 +1029,12 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'." | |||
| 1028 | (command-line-1 (cdr command-line-args)) | 1029 | (command-line-1 (cdr command-line-args)) |
| 1029 | 1030 | ||
| 1030 | ;; If -batch, terminate after processing the command options. | 1031 | ;; If -batch, terminate after processing the command options. |
| 1031 | (if noninteractive (kill-emacs t))) | 1032 | (if noninteractive (kill-emacs t)) |
| 1033 | |||
| 1034 | ;; Run emacs-session-restore (session management) if started by | ||
| 1035 | ;; the session manager and we have a session manager connection. | ||
| 1036 | (if (and (stringp x-session-previous-id) (stringp x-session-id)) | ||
| 1037 | (emacs-session-restore))) | ||
| 1032 | 1038 | ||
| 1033 | (defcustom initial-scratch-message (purecopy "\ | 1039 | (defcustom initial-scratch-message (purecopy "\ |
| 1034 | ;; This buffer is for notes you don't want to save, and for Lisp evaluation. | 1040 | ;; This buffer is for notes you don't want to save, and for Lisp evaluation. |