Default to splash on current frame, if none visible (Bug#31169)
* lisp/startup.el (fancy-splash-frame): Default to current frame.
This commit is contained in:
parent
97d5d1a1f4
commit
91ebbbfa10
1 changed files with 2 additions and 1 deletions
|
@ -1903,7 +1903,8 @@ we put it on this frame."
|
|||
(if (and (frame-visible-p frame)
|
||||
(not (window-minibuffer-p (frame-selected-window frame))))
|
||||
(setq chosen-frame frame)))
|
||||
chosen-frame))
|
||||
;; If there are no visible frames yet, try the selected one.
|
||||
(or chosen-frame (selected-frame))))
|
||||
|
||||
(defun use-fancy-splash-screens-p ()
|
||||
"Return t if fancy splash screens should be used."
|
||||
|
|
Loading…
Add table
Reference in a new issue