diff options
| -rw-r--r-- | lisp/startup.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/startup.el b/lisp/startup.el index ea1eabced99..4355d21ee51 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -1130,6 +1130,12 @@ where FACE is a valid face specification, as it can be used with | |||
| 1130 | (let ((pos (/ (- window-width image-width) 2))) | 1130 | (let ((pos (/ (- window-width image-width) 2))) |
| 1131 | (insert (propertize " " 'display `(space :align-to ,pos)))) | 1131 | (insert (propertize " " 'display `(space :align-to ,pos)))) |
| 1132 | 1132 | ||
| 1133 | ;; Change the color of the XPM version of the splash image | ||
| 1134 | ;; so that it is visible with a dark frame background. | ||
| 1135 | (when (and (memq 'xpm img) | ||
| 1136 | (eq (frame-parameter nil 'background-mode) 'dark)) | ||
| 1137 | (setq img (append img '(:color-symbols (("#000000" . "gray30")))))) | ||
| 1138 | |||
| 1133 | ;; Insert the image with a help-echo and a keymap. | 1139 | ;; Insert the image with a help-echo and a keymap. |
| 1134 | (let ((map (make-sparse-keymap)) | 1140 | (let ((map (make-sparse-keymap)) |
| 1135 | (help-echo "mouse-2: browse http://www.gnu.org/")) | 1141 | (help-echo "mouse-2: browse http://www.gnu.org/")) |