diff options
| author | Juanma Barranquero | 2008-07-18 14:22:24 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2008-07-18 14:22:24 +0000 |
| commit | 555b0992fdbb6435ad74a22c9f894f9c3f405fda (patch) | |
| tree | ba18a32354beb57bc12e2e766a74c5abfe6a641c /lisp | |
| parent | 658a0f850b8849ff1e13194855f4322d5382a06e (diff) | |
| download | emacs-555b0992fdbb6435ad74a22c9f894f9c3f405fda.tar.gz emacs-555b0992fdbb6435ad74a22c9f894f9c3f405fda.zip | |
* lisp/startup.el (fancy-splash-head): Fix change of 2008-07-02.
* etc/images/splash8.xpm: Remove.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/startup.el | 12 |
2 files changed, 11 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 20a14d0fd14..4a201e637d3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-07-18 Francesc Rocher <rocher@member.fsf.org> | ||
| 2 | |||
| 3 | * startup.el (fancy-splash-head): Fix change of 2008-07-02. | ||
| 4 | |||
| 1 | 2008-07-18 Glenn Morris <rgm@gnu.org> | 5 | 2008-07-18 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * eshell/esh-arg.el (eshell-quote-backslash): Restrict previous change | 7 | * eshell/esh-arg.el (eshell-quote-backslash): Restrict previous change |
diff --git a/lisp/startup.el b/lisp/startup.el index c426c6c2491..d3ab1d502a9 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -1442,15 +1442,17 @@ a face or button specification." | |||
| 1442 | (let* ((image-file (cond ((stringp fancy-splash-image) | 1442 | (let* ((image-file (cond ((stringp fancy-splash-image) |
| 1443 | fancy-splash-image) | 1443 | fancy-splash-image) |
| 1444 | ((display-color-p) | 1444 | ((display-color-p) |
| 1445 | (cond ((image-type-available-p 'svg) | 1445 | (cond ((<= (display-planes) 8) |
| 1446 | (if (image-type-available-p 'xpm) | ||
| 1447 | "splash.xpm" | ||
| 1448 | "splash.pbm")) | ||
| 1449 | ((image-type-available-p 'svg) | ||
| 1446 | "splash.svg") | 1450 | "splash.svg") |
| 1447 | ((image-type-available-p 'png) | 1451 | ((image-type-available-p 'png) |
| 1448 | "splash.png") | 1452 | "splash.png") |
| 1449 | ((image-type-available-p 'xpm) | 1453 | ((image-type-available-p 'xpm) |
| 1450 | (if (and (fboundp 'x-display-planes) | 1454 | "splash.xpm") |
| 1451 | (= (funcall 'x-display-planes) 8)) | 1455 | (t "splash.pbm"))) |
| 1452 | "splash8.xpm" | ||
| 1453 | "splash.xpm")))) | ||
| 1454 | (t "splash.pbm"))) | 1456 | (t "splash.pbm"))) |
| 1455 | (img (create-image image-file)) | 1457 | (img (create-image image-file)) |
| 1456 | (image-width (and img (car (image-size img)))) | 1458 | (image-width (and img (car (image-size img)))) |