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:
parent
bb3faf5b98
commit
a66744021f
@ -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.
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user