aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/startup.el12
1 files changed, 11 insertions, 1 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index 783fb9c4dfe..70a9427341b 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -327,7 +327,7 @@ specified by the LC_ALL, LC_CTYPE and LANG environment variables.")
327 ;; does things. 327 ;; does things.
328 (while (and (not done) args) 328 (while (and (not done) args)
329 (let ((longopts '(("--no-init-file") ("--no-site-file") ("--user") 329 (let ((longopts '(("--no-init-file") ("--no-site-file") ("--user")
330 ("--debug-init"))) 330 ("--debug-init") ("--iconic") ("--icon-type")))
331 (argi (car args)) 331 (argi (car args))
332 (argval nil)) 332 (argval nil))
333 (if (string-match "=" argi) 333 (if (string-match "=" argi)
@@ -361,6 +361,16 @@ specified by the LC_ALL, LC_CTYPE and LANG environment variables.")
361 ((string-equal argi "-debug-init") 361 ((string-equal argi "-debug-init")
362 (setq init-file-debug t 362 (setq init-file-debug t
363 args (cdr args))) 363 args (cdr args)))
364 ((string-equal argi "-iconic")
365 (setq initial-frame-alist
366 (cons '(visibility . icon) initial-frame-alist))
367 (setq args (cdr args)))
368 ((or (string-equal argi "-icon-type")
369 (string-equal argi "-i")
370 (string-equal argi "-itype"))
371 (setq default-frame-alist
372 (cons '(icon-type . t) default-frame-alist))
373 (setq args (cdr args)))
364 (t (setq done t))) 374 (t (setq done t)))
365 ;; Was argval set but not used? 375 ;; Was argval set but not used?
366 (and argval 376 (and argval