# HG changeset patch # User John Paul Wallington # Date 1031185189 0 # Node ID 2f4274cc65ea91c9247bcac0e7e1271601fbb8ce # Parent aad2620d71a81631c2bf9e91c656eca6145330ce *** empty log message *** diff -r aad2620d71a8 -r 2f4274cc65ea lisp/ChangeLog --- a/lisp/ChangeLog Wed Sep 04 20:54:44 2002 +0000 +++ b/lisp/ChangeLog Thu Sep 05 00:19:49 2002 +0000 @@ -1,3 +1,8 @@ +2002-09-04 John Paul Wallington + + * startup.el (use-fancy-splash-screens-p): If `fancy-splash-frame' + returns nil, return nil. + 2002-09-04 Andre Spiegel * vc-hooks.el: Require vc.el at compile-time. diff -r aad2620d71a8 -r 2f4274cc65ea lisp/startup.el --- a/lisp/startup.el Wed Sep 04 20:54:44 2002 +0000 +++ b/lisp/startup.el Thu Sep 05 00:19:49 2002 +0000 @@ -1322,14 +1322,15 @@ (when (or (and (display-color-p) (image-type-available-p 'xpm)) (image-type-available-p 'pbm)) - (let* ((frame (fancy-splash-frame)) - (img (create-image (or fancy-splash-image - (if (and (display-color-p) - (image-type-available-p 'xpm)) - "splash.xpm" "splash.pbm")))) - (image-height (and img (cdr (image-size img)))) - (window-height (1- (window-height (frame-selected-window frame))))) - (> window-height (+ image-height 19))))) + (let ((frame (fancy-splash-frame))) + (when frame + (let* ((img (create-image (or fancy-splash-image + (if (and (display-color-p) + (image-type-available-p 'xpm)) + "splash.xpm" "splash.pbm")))) + (image-height (and img (cdr (image-size img)))) + (window-height (1- (window-height (frame-selected-window frame))))) + (> window-height (+ image-height 19))))))) (defun normal-splash-screen ()