[Top][All Lists]

[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: Wed, 18 Mar 2020 07:48:24 -0700 (PDT)

> Did you try to change default-frame-parameters?

I meant to mention that `clone-frame', as
opposed to `make-frame', lets you, in effect,
have two different sets of frame parameters
for `C-x 5 2': `default-frame-alist' and
`clone-frame-parameters': If you use a prefix
arg with `clone-frame' then it just uses the
`default-frame-alist' parameters.

That's the purpose of `clone-frame'.  You
don't need to redefine `default-frame-alist',
which affects all frames; you can use a
different set of parameters when you make a
new frame.  (And you can auto-select the new


clone-frame is an interactive compiled Lisp function in

It is bound to C-x 5 2, menu-bar frames make-frame.

(clone-frame &optional FRAME NO-CLONE)

Make and select a new frame with the same parameters as FRAME.
With a prefix arg, don't clone - just call 'make-frame-command'.
Return the new frame.

FRAME defaults to the selected frame.  The frame is created on the
same terminal as FRAME.  If the terminal is a text-only terminal then
also select the new frame.

reply via email to

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