aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Djärv2008-02-07 14:07:00 +0000
committerJan Djärv2008-02-07 14:07:00 +0000
commit350c1745732e4b3ab88c69eafd48e1baeb173a08 (patch)
tree16c41daf56e9fc5764800c24c2334e97dd6b5dd1
parentc434f203bf2ab04da565adafbeb1150f9c6a5d89 (diff)
downloademacs-350c1745732e4b3ab88c69eafd48e1baeb173a08.tar.gz
emacs-350c1745732e4b3ab88c69eafd48e1baeb173a08.zip
(x-handle-parent-id): New function.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/term/x-win.el9
2 files changed, 15 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6775a8da98c..3d312fd1270 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12008-02-07 Timo Savola <timo.savola@iki.fi>
2
3 * startup.el (command-line-x-option-alist): Add --parent-id.
4
5 * term/x-win.el (x-handle-parent-id): New function.
6
12008-02-07 Chris Moore <christopher.ian.moore@gmail.com> 72008-02-07 Chris Moore <christopher.ian.moore@gmail.com>
2 8
3 * mouse.el (x-fixed-font-alist): Use consistent capitalization for 9 * mouse.el (x-fixed-font-alist): Use consistent capitalization for
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el
index f5ec4c27480..5ce1a03ddcc 100644
--- a/lisp/term/x-win.el
+++ b/lisp/term/x-win.el
@@ -190,6 +190,15 @@
190 (setq initial-frame-alist (cons (cons 'name x-resource-name) 190 (setq initial-frame-alist (cons (cons 'name x-resource-name)
191 initial-frame-alist))) 191 initial-frame-alist)))
192 192
193;; Handle the --parent-id option.
194(defun x-handle-parent-id (switch)
195 (or (consp x-invocation-args)
196 (error "%s: missing argument to `%s' option" (invocation-name) switch))
197 (setq parent-id (string-to-number (car x-invocation-args))
198 x-invocation-args (cdr x-invocation-args))
199 (setq initial-frame-alist (cons (cons 'parent-id parent-id)
200 initial-frame-alist)))
201
193(defvar x-display-name nil 202(defvar x-display-name nil
194 "The name of the X display on which Emacs was started. 203 "The name of the X display on which Emacs was started.
195 204