1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-30 19:53:09 +00:00

Tweak startup image choice logic.

* startup.el (fancy-splash-head): Use splash.svg even if librsvg
is uninstalled, if imagemagick is installed.
This commit is contained in:
Chong Yidong 2012-06-11 23:55:32 +08:00
parent bb3faf5b98
commit a66744021f
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-06-11 Chong Yidong <cyd@gnu.org>
* startup.el (fancy-splash-head): Use splash.svg even if librsvg
is uninstalled, if imagemagick is installed.
2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/cl-lib.el: Use lexical-binding.

View File

@ -1491,7 +1491,8 @@ a face or button specification."
(if (image-type-available-p 'xpm)
"splash.xpm"
"splash.pbm"))
((image-type-available-p 'svg)
((or (image-type-available-p 'svg)
(image-type-available-p 'imagemagick))
"splash.svg")
((image-type-available-p 'png)
"splash.png")