aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/startup.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index fdf6cc1dbaa..c1e56fcdff3 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -1903,7 +1903,8 @@ we put it on this frame."
1903 (if (and (frame-visible-p frame) 1903 (if (and (frame-visible-p frame)
1904 (not (window-minibuffer-p (frame-selected-window frame)))) 1904 (not (window-minibuffer-p (frame-selected-window frame))))
1905 (setq chosen-frame frame))) 1905 (setq chosen-frame frame)))
1906 chosen-frame)) 1906 ;; If there are no visible frames yet, try the selected one.
1907 (or chosen-frame (selected-frame))))
1907 1908
1908(defun use-fancy-splash-screens-p () 1909(defun use-fancy-splash-screens-p ()
1909 "Return t if fancy splash screens should be used." 1910 "Return t if fancy splash screens should be used."