]> code.delx.au - gnu-emacs/commitdiff
(x-handle-name-switch): Renamed from x-handle-name-rn-switch.
authorRichard M. Stallman <rms@gnu.org>
Fri, 28 Jun 1996 07:59:01 +0000 (07:59 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 28 Jun 1996 07:59:01 +0000 (07:59 +0000)
lisp/term/x-win.el

index b5f35c2de886e06b7ee639fbd15d61ed88b0c25e..08819f28df68ded76db439ba08ba9d5796d2762b 100644 (file)
                  geo)
          x-invocation-args (cdr x-invocation-args))))
 
-;; Handle the -name and -rn options.  Set the variable x-resource-name
-;; to the option's operand; if the switch was `-name', set the name of
+;; Handle the -name option.  Set the variable x-resource-name
+;; to the option's operand; set the name of
 ;; the initial frame, too.
-(defun x-handle-name-rn-switch (switch)
+(defun x-handle-name-switch (switch)
   (or (consp x-invocation-args)
       (error "%s: missing argument to `%s' option" (invocation-name) switch))
   (setq x-resource-name (car x-invocation-args)
        x-invocation-args (cdr x-invocation-args))
-  (if (string= switch "-name")
-      (setq initial-frame-alist (cons (cons 'name x-resource-name)
-                                     initial-frame-alist))))
+  (setq initial-frame-alist (cons (cons 'name x-resource-name)
+                                 initial-frame-alist)))
 
 (defvar x-display-name nil
   "The X display name specifying server and X frame.")