Martin Buchholz <martin(a)xemacs.org> writes:
other buffers. So I do something like this:
(add-hook
'shell-mode-hook
(lambda ()
(set-face-background 'default "midnightblue" (current-buffer))))
If I start a shell, then change fonts by doing Options->Size->14, my
font sizes do indeed change, but my background color customization is
gone.
This is "intentional". Using custom (and thus the font-menu) overrides
all runtime changes. I agree it is unexpected. At least you get gray
instead of white. We should discuss in Tsukuba whether custom should
really work that way, but currently this is the way it does.
Subsequently started shell buffers are back to midnightblue.
And this is because the hooks change it back.
No bugs. just funny effect of the way custom works. I am pretty sure
this works the same on FSF Emacs.
Jan