diff options
| author | Richard M. Stallman | 1996-06-28 07:59:01 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-06-28 07:59:01 +0000 |
| commit | 66f229be7419318b0318398f6b9549f8e8558903 (patch) | |
| tree | a2c622401903c81c1ebaa185d48765333abff99c | |
| parent | 5676ab57a873642bc71726652cb897a40ad72dce (diff) | |
| download | emacs-66f229be7419318b0318398f6b9549f8e8558903.tar.gz emacs-66f229be7419318b0318398f6b9549f8e8558903.zip | |
(x-handle-name-switch): Renamed from x-handle-name-rn-switch.
| -rw-r--r-- | lisp/term/x-win.el | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index b5f35c2de88..08819f28df6 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el | |||
| @@ -132,17 +132,16 @@ | |||
| 132 | geo) | 132 | geo) |
| 133 | x-invocation-args (cdr x-invocation-args)))) | 133 | x-invocation-args (cdr x-invocation-args)))) |
| 134 | 134 | ||
| 135 | ;; Handle the -name and -rn options. Set the variable x-resource-name | 135 | ;; Handle the -name option. Set the variable x-resource-name |
| 136 | ;; to the option's operand; if the switch was `-name', set the name of | 136 | ;; to the option's operand; set the name of |
| 137 | ;; the initial frame, too. | 137 | ;; the initial frame, too. |
| 138 | (defun x-handle-name-rn-switch (switch) | 138 | (defun x-handle-name-switch (switch) |
| 139 | (or (consp x-invocation-args) | 139 | (or (consp x-invocation-args) |
| 140 | (error "%s: missing argument to `%s' option" (invocation-name) switch)) | 140 | (error "%s: missing argument to `%s' option" (invocation-name) switch)) |
| 141 | (setq x-resource-name (car x-invocation-args) | 141 | (setq x-resource-name (car x-invocation-args) |
| 142 | x-invocation-args (cdr x-invocation-args)) | 142 | x-invocation-args (cdr x-invocation-args)) |
| 143 | (if (string= switch "-name") | 143 | (setq initial-frame-alist (cons (cons 'name x-resource-name) |
| 144 | (setq initial-frame-alist (cons (cons 'name x-resource-name) | 144 | initial-frame-alist))) |
| 145 | initial-frame-alist)))) | ||
| 146 | 145 | ||
| 147 | (defvar x-display-name nil | 146 | (defvar x-display-name nil |
| 148 | "The X display name specifying server and X frame.") | 147 | "The X display name specifying server and X frame.") |