aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/startup.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index b84c122e25b..0fffc1b90ec 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -485,7 +485,11 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
485 485
486 ;; Don't do this if we failed to create the initial frame, 486 ;; Don't do this if we failed to create the initial frame,
487 ;; for instance due to a dense colormap. 487 ;; for instance due to a dense colormap.
488 (when frame-initial-frame 488 (when (or frame-initial-frame
489 ;; If frame-initial-frame has no meaning, do this anyway.
490 (not (and window-system
491 (not noninteractive)
492 (not (eq window-system 'pc)))))
489 ;; Modify the initial frame based on what .emacs puts into 493 ;; Modify the initial frame based on what .emacs puts into
490 ;; ...-frame-alist. 494 ;; ...-frame-alist.
491 (if (fboundp 'frame-notice-user-settings) 495 (if (fboundp 'frame-notice-user-settings)