* startup.el (command-line-1): Stop startup-echo-area-message
being hidden by "Loading image..." message.
+ (use-fancy-splash-screens-p, display-splash-screen): Move
+ display-graphic-p test from latter to former.
* progmodes/sh-script.el (sh-font-lock-keywords): Highlight
escaped EOLs differently from other backslash constructs.
(defun use-fancy-splash-screens-p ()
"Return t if fancy splash screens should be used."
- (when (or (and (display-color-p)
+ (when (and (display-graphic-p)
+ (or (and (display-color-p)
(image-type-available-p 'xpm))
- (image-type-available-p 'pbm))
+ (image-type-available-p 'pbm)))
(let ((frame (fancy-splash-frame)))
(when frame
(let* ((img (create-image (or fancy-splash-image
Fancy splash screens are used on graphic displays,
normal otherwise."
(interactive)
- (if (and (display-graphic-p)
- (use-fancy-splash-screens-p))
+ (if (use-fancy-splash-screens-p)
(fancy-splash-screens)
(normal-splash-screen)))