Function: x-handle-name-switch
x-handle-name-switch is a byte-compiled function defined in
common-win.el.gz.
Signature
(x-handle-name-switch SWITCH)
Source Code
;; Defined in /usr/src/emacs/lisp/term/common-win.el.gz
;; 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-switch (switch)
(or (consp x-invocation-args)
(error "%s: missing argument to `%s' option" invocation-name switch))
(setq x-resource-name (pop x-invocation-args)
initial-frame-alist (cons (cons 'name x-resource-name)
initial-frame-alist)))