[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: dark images on a dark bad

>>>>> In [emacs-w3m : No.10289] jidanni@xxxxxxxxxxx wrote:

> Using
> $ cat .Xresources
> Emacs*Background: DarkSlateGray
> Emacs*Foreground: Wheat

> Browsing http://en.wikipedia.org/wiki/Earthing_system is difficult, as
> the images end up being dark lines on dark background. One needs to
> use emacs --reverse-video to see them.

> There should be a command that can add a white etc. background to all
> images on the page, or some other remedy.

Aren't the commands `set-background-color' and `set-foreground-color'
enough for you?

M-x set-background-color RET White RET


(defun my-set-frame-color ()
  (set-background-color "White")
  (set-foreground-color "Black"))

Those commands work per frame.