aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/term
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/term')
-rw-r--r--lisp/term/x-win.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el
index 5ce1a03ddcc..acbb3161a15 100644
--- a/lisp/term/x-win.el
+++ b/lisp/term/x-win.el
@@ -194,10 +194,11 @@
194(defun x-handle-parent-id (switch) 194(defun x-handle-parent-id (switch)
195 (or (consp x-invocation-args) 195 (or (consp x-invocation-args)
196 (error "%s: missing argument to `%s' option" (invocation-name) switch)) 196 (error "%s: missing argument to `%s' option" (invocation-name) switch))
197 (setq parent-id (string-to-number (car x-invocation-args)) 197 (setq initial-frame-alist (cons
198 x-invocation-args (cdr x-invocation-args)) 198 (cons 'parent-id
199 (setq initial-frame-alist (cons (cons 'parent-id parent-id) 199 (string-to-number (car x-invocation-args)))
200 initial-frame-alist))) 200 initial-frame-alist)
201 x-invocation-args (cdr x-invocation-args)))
201 202
202(defvar x-display-name nil 203(defvar x-display-name nil
203 "The name of the X display on which Emacs was started. 204 "The name of the X display on which Emacs was started.