diff options
| author | Miles Bader | 2001-11-03 18:09:33 +0000 |
|---|---|---|
| committer | Miles Bader | 2001-11-03 18:09:33 +0000 |
| commit | e7f3afa945dd7952345c920599527e96b0f8be2f (patch) | |
| tree | 9a4448b398f7db78c37d97120a591cbee943ee9b | |
| parent | aed29b9702de7654a9c0429edc5fc6e8a64ed824 (diff) | |
| download | emacs-e7f3afa945dd7952345c920599527e96b0f8be2f.tar.gz emacs-e7f3afa945dd7952345c920599527e96b0f8be2f.zip | |
(fancy-splash-head): Reapply Gerd's hack to make the shadow of the
splash image grey on a dark background instead of black.
| -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/")) |