help-gnu-emacs
[Top][All Lists]
Advanced

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

RE: Color of new window C-x 5 2?


From: Drew Adams
Subject: RE: Color of new window C-x 5 2?
Date: Tue, 17 Mar 2020 15:39:48 -0700 (PDT)

> Does anyone know how to use (set-foreground-color) commands when the new
> window is created?  At the moment, these settings do not effect the new
> window created with C-x 5 2.

If you use library `frame-cmds.el', and
you bind `C-x 5 2' to command `clone-frame', 
then you can customize option
`clone-frame-parameters' to include frame
parameter `background-color' with the color
you want.  For example, this uses a light
blue background:

((background-color . "LightBlue"))

`frame-cmds.el' requires `frame-fns.el'.
Both are on Emacs Wiki's Elisp Area:

https://www.emacswiki.org/emacs/download/frame-cmds.el
https://www.emacswiki.org/emacs/download/frame-fns.el



reply via email to

[Prev in Thread] Current Thread [Next in Thread]