mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(x-handle-parent-id): New function.
This commit is contained in:
parent
c434f203bf
commit
350c174573
2 changed files with 15 additions and 0 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2008-02-07 Timo Savola <timo.savola@iki.fi>
|
||||
|
||||
* startup.el (command-line-x-option-alist): Add --parent-id.
|
||||
|
||||
* term/x-win.el (x-handle-parent-id): New function.
|
||||
|
||||
2008-02-07 Chris Moore <christopher.ian.moore@gmail.com>
|
||||
|
||||
* mouse.el (x-fixed-font-alist): Use consistent capitalization for
|
||||
|
|
|
|||
|
|
@ -190,6 +190,15 @@
|
|||
(setq initial-frame-alist (cons (cons 'name x-resource-name)
|
||||
initial-frame-alist)))
|
||||
|
||||
;; Handle the --parent-id option.
|
||||
(defun x-handle-parent-id (switch)
|
||||
(or (consp x-invocation-args)
|
||||
(error "%s: missing argument to `%s' option" (invocation-name) switch))
|
||||
(setq parent-id (string-to-number (car x-invocation-args))
|
||||
x-invocation-args (cdr x-invocation-args))
|
||||
(setq initial-frame-alist (cons (cons 'parent-id parent-id)
|
||||
initial-frame-alist)))
|
||||
|
||||
(defvar x-display-name nil
|
||||
"The name of the X display on which Emacs was started.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue