Function: x-handle-initial-switch

x-handle-initial-switch is a byte-compiled function defined in common-win.el.gz.

Signature

(x-handle-initial-switch SWITCH)

Source Code

;; Defined in /usr/src/emacs/lisp/term/common-win.el.gz
;; Handle options that apply to initial frame only
(defun x-handle-initial-switch (switch)
  (let ((aelt (assoc switch command-line-x-option-alist)))
    (if aelt
	(setq initial-frame-alist
	      (cons (cons (nth 3 aelt)
			  (or (nth 4 aelt) (pop x-invocation-args)))
		    initial-frame-alist)))))