diff options
Diffstat (limited to 'lisp/startup.el')
| -rw-r--r-- | lisp/startup.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/startup.el b/lisp/startup.el index e8ebf6696ca..062a2851e70 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -914,7 +914,8 @@ where FACE is a valid face specification, as it can be used with (defun fancy-splash-head () "Insert the head part of the splash screen into the current buffer." (let* ((img (create-image (or fancy-splash-image - (if (display-color-p) + (if (and (display-color-p) + (image-type-available-p 'xpm)) "splash.xpm" "splash.pbm")))) (image-width (and img (car (image-size img)))) (window-width (window-width (selected-window)))) |
