1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-16 17:19:41 +00:00

(normal-top-level): Check for frame-initial-frame

only if it's really used.
This commit is contained in:
Gerd Moellmann 2001-10-25 13:32:29 +00:00
parent b2bbd50940
commit 538ef02ab9

View File

@ -485,7 +485,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)