From: Gerd Moellmann Date: Thu, 25 Oct 2001 13:33:28 +0000 (+0000) Subject: (normal-top-level): Check for frame-initial-frame X-Git-Tag: emacs-21.2~456 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bb592e8f246ef25f912179a09c5e071d9d045e1d;p=emacs.git (normal-top-level): Check for frame-initial-frame only if it's really used. --- diff --git a/lisp/startup.el b/lisp/startup.el index 294c49e44be..98240fa1b83 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -480,7 +480,11 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'." ;; Don't do this if we failed to create the initial frame, ;; for instance due to a dense colormap. - (when frame-initial-frame + (when (or frame-initial-frame + ;; If frame-initial-frame has no meaning, do this anyway. + (not (and window-system + (not noninteractive) + (not (eq window-system 'pc))))) ;; Modify the initial frame based on what .emacs puts into ;; ...-frame-alist. (if (fboundp 'frame-notice-user-settings)