projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97d5d1a
)
Default to splash on current frame, if none visible (Bug#31169)
author
Noam Postavsky
<npostavs@gmail.com>
Wed, 23 May 2018 23:26:49 +0000
(19:26 -0400)
committer
Noam Postavsky
<npostavs@gmail.com>
Tue, 19 Jun 2018 00:02:03 +0000
(20:02 -0400)
* lisp/startup.el (fancy-splash-frame): Default to current frame.
lisp/startup.el
patch
|
blob
|
history
diff --git
a/lisp/startup.el
b/lisp/startup.el
index fdf6cc1dbaa0648e4264b253d0751413482818be..c1e56fcdff3d956725cce13f2eb266c961766213 100644
(file)
--- a/
lisp/startup.el
+++ b/
lisp/startup.el
@@
-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."