emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New look for Emacs-23.0


From: Stefan Monnier
Subject: Re: New look for Emacs-23.0
Date: Thu, 03 Jul 2008 17:55:23 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> -                          ((and (display-color-p)
> -                                (image-type-available-p 'xpm))
> -                            (if (and (fboundp 'x-display-planes)
> -                                     (= (funcall 'x-display-planes) 8))
> -                                "splash8.xpm"
> -                              "splash.xpm"))
> -                            (t "splash.pbm")))
> +                          ((display-color-p)
> +                                (cond ((image-type-available-p 'svg)
> +                                                 "splash.svg")
> +                                                ((image-type-available-p 
> 'png)
> +                                                 "splash.png")
> +                                                ((image-type-available-p 
> 'xpm)
> +                                                 (if (and (fboundp
> 'x-display-planes)
> +
>    (= (funcall 'x-display-planes) 8))
> +                                                               "splash8.xpm"
> +                                                        "splash.xpm"))))
> +                                       (t "splash.pbm")))

This code still needs to be tuned to correctly pay attention to the
color depth: testing display-planes only when we don't support SVG and
PNG doesn't make any sense.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]