aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2001-10-25 13:32:29 +0000
committerGerd Moellmann2001-10-25 13:32:29 +0000
commit538ef02ab967ecaea416e8733ef40218eef0f74c (patch)
treede113ba34ff2dcc94164e775109a166116bf7190
parentb2bbd50940527352aed8ee636350b7b3a71e808b (diff)
downloademacs-538ef02ab967ecaea416e8733ef40218eef0f74c.tar.gz
emacs-538ef02ab967ecaea416e8733ef40218eef0f74c.zip
(normal-top-level): Check for frame-initial-frame
only if it's really used.
-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)