diff options
| author | Gerd Moellmann | 2001-03-20 15:15:21 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-03-20 15:15:21 +0000 |
| commit | 7b8bbf72be98d902817aa18ae4654ff666705101 (patch) | |
| tree | a7e31a13b4c6919f4c85158897100b23c20143ca | |
| parent | a91ad7c961c388705097f30b765dbfe16df1cc15 (diff) | |
| download | emacs-7b8bbf72be98d902817aa18ae4654ff666705101.tar.gz emacs-7b8bbf72be98d902817aa18ae4654ff666705101.zip | |
(fancy-splash-head): Don't change the colors of the
XPM image on a dark background.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/startup.el | 6 |
2 files changed, 3 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0f459dec6ab..2e3203d6f08 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2001-03-20 Gerd Moellmann <gerd@gnu.org> | 1 | 2001-03-20 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * startup.el (fancy-splash-head): Don't change the colors of the | ||
| 4 | XPM image on a dark background. | ||
| 5 | |||
| 3 | * comint.el (comint-exec-1): Set columns of the terminal to | 6 | * comint.el (comint-exec-1): Set columns of the terminal to |
| 4 | window-width instead of frame-width. | 7 | window-width instead of frame-width. |
| 5 | 8 | ||
diff --git a/lisp/startup.el b/lisp/startup.el index 44b15bc9772..401b1f3f41b 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -1087,12 +1087,6 @@ where FACE is a valid face specification, as it can be used with | |||
| 1087 | (let ((pos (/ (- window-width image-width) 2))) | 1087 | (let ((pos (/ (- window-width image-width) 2))) |
| 1088 | (insert (propertize " " 'display `(space :align-to ,pos)))) | 1088 | (insert (propertize " " 'display `(space :align-to ,pos)))) |
| 1089 | 1089 | ||
| 1090 | ;; Change the color of the XPM version of the splash image | ||
| 1091 | ;; so that it is visible with a dark frame background. | ||
| 1092 | (when (and (memq 'xpm img) | ||
| 1093 | (eq (frame-parameter nil 'background-mode) 'dark)) | ||
| 1094 | (setq img (append img '(:color-symbols (("#000000" . "gray")))))) | ||
| 1095 | |||
| 1096 | ;; Insert the image with a help-echo and a keymap. | 1090 | ;; Insert the image with a help-echo and a keymap. |
| 1097 | (let ((map (make-sparse-keymap)) | 1091 | (let ((map (make-sparse-keymap)) |
| 1098 | (help-echo "mouse-2: browse http://www.gnu.org/")) | 1092 | (help-echo "mouse-2: browse http://www.gnu.org/")) |