Commit 7b8bbf72 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(fancy-splash-head): Don't change the colors of the

XPM image on a dark background.
parent a91ad7c9
2001-03-20 Gerd Moellmann <gerd@gnu.org>
 
* startup.el (fancy-splash-head): Don't change the colors of the
XPM image on a dark background.
* comint.el (comint-exec-1): Set columns of the terminal to
window-width instead of frame-width.
 
......
......@@ -1087,12 +1087,6 @@ where FACE is a valid face specification, as it can be used with
(let ((pos (/ (- window-width image-width) 2)))
(insert (propertize " " 'display `(space :align-to ,pos))))
;; Change the color of the XPM version of the splash image
;; so that it is visible with a dark frame background.
(when (and (memq 'xpm img)
(eq (frame-parameter nil 'background-mode) 'dark))
(setq img (append img '(:color-symbols (("#000000" . "gray"))))))
;; Insert the image with a help-echo and a keymap.
(let ((map (make-sparse-keymap))
(help-echo "mouse-2: browse http://www.gnu.org/"))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment