aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Paul Wallington2002-09-05 00:19:49 +0000
committerJohn Paul Wallington2002-09-05 00:19:49 +0000
commit16d2fae910f2a7684d81aae6bb457923ec0d969a (patch)
tree37fa8f9923007c52cfc6be58845e725d9f347f84
parent6a66dca96b5b5119dd83b5ff239176ff46ac7a2d (diff)
downloademacs-16d2fae910f2a7684d81aae6bb457923ec0d969a.tar.gz
emacs-16d2fae910f2a7684d81aae6bb457923ec0d969a.zip
*** empty log message ***
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/startup.el17
2 files changed, 14 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 35f0ac27542..190ee238f0a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12002-09-04 John Paul Wallington <jpw@shootybangbang.com>
2
3 * startup.el (use-fancy-splash-screens-p): If `fancy-splash-frame'
4 returns nil, return nil.
5
12002-09-04 Andre Spiegel <spiegel@gnu.org> 62002-09-04 Andre Spiegel <spiegel@gnu.org>
2 7
3 * vc-hooks.el: Require vc.el at compile-time. 8 * vc-hooks.el: Require vc.el at compile-time.
diff --git a/lisp/startup.el b/lisp/startup.el
index 8afdb8c92f0..bff7e09e4fe 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -1322,14 +1322,15 @@ we put it on this frame."
1322 (when (or (and (display-color-p) 1322 (when (or (and (display-color-p)
1323 (image-type-available-p 'xpm)) 1323 (image-type-available-p 'xpm))
1324 (image-type-available-p 'pbm)) 1324 (image-type-available-p 'pbm))
1325 (let* ((frame (fancy-splash-frame)) 1325 (let ((frame (fancy-splash-frame)))
1326 (img (create-image (or fancy-splash-image 1326 (when frame
1327 (if (and (display-color-p) 1327 (let* ((img (create-image (or fancy-splash-image
1328 (image-type-available-p 'xpm)) 1328 (if (and (display-color-p)
1329 "splash.xpm" "splash.pbm")))) 1329 (image-type-available-p 'xpm))
1330 (image-height (and img (cdr (image-size img)))) 1330 "splash.xpm" "splash.pbm"))))
1331 (window-height (1- (window-height (frame-selected-window frame))))) 1331 (image-height (and img (cdr (image-size img))))
1332 (> window-height (+ image-height 19))))) 1332 (window-height (1- (window-height (frame-selected-window frame)))))
1333 (> window-height (+ image-height 19)))))))
1333 1334
1334 1335
1335(defun normal-splash-screen () 1336(defun normal-splash-screen ()