# HG changeset patch # User Glenn Morris # Date 1202459603 0 # Node ID 8cd1274a8ae3700d13693b9f7ccb557408a352e4 # Parent 3cd69d2e616aee1c5d35f5c007de0f4e197b22d2 (x-handle-parent-id): Remove free variable `parent-id'. diff -r 3cd69d2e616a -r 8cd1274a8ae3 lisp/term/x-win.el --- a/lisp/term/x-win.el Fri Feb 08 08:04:31 2008 +0000 +++ b/lisp/term/x-win.el Fri Feb 08 08:33:23 2008 +0000 @@ -194,10 +194,11 @@ (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))) + (setq initial-frame-alist (cons + (cons 'parent-id + (string-to-number (car x-invocation-args))) + initial-frame-alist) + x-invocation-args (cdr x-invocation-args))) (defvar x-display-name nil "The name of the X display on which Emacs was started.