Commit eba47cbd authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(Creating Frame): One more example of using default-frame-alist.

(Frame Parameters): Mention default-frame-alist and add a cross-reference
to its description.
parent 4cf0f75e
...@@ -444,6 +444,14 @@ parameter, as shown here: ...@@ -444,6 +444,14 @@ parameter, as shown here:
(add-to-list 'default-frame-alist '(font . "10x20")) (add-to-list 'default-frame-alist '(font . "10x20"))
@end example @end example
@noindent
Here's a similar example for specifying a foreground color:
@example
(add-to-list 'default-frame-alist '(background-color . "blue"))
@end example
@node Frame Commands @node Frame Commands
@section Frame Commands @section Frame Commands
...@@ -686,7 +694,10 @@ the menus and menu bar, you must use X resources (@pxref{Resources X}). ...@@ -686,7 +694,10 @@ the menus and menu bar, you must use X resources (@pxref{Resources X}).
@xref{Colors X}, regarding colors. @xref{Font X}, regarding choice of @xref{Colors X}, regarding colors. @xref{Font X}, regarding choice of
font. font.
For information on frame parameters and customization, see @ref{Frame Colors, fonts, and other attributes of the frame's display can also
be customized by setting frame parameters in the variable
@code{default-frame-alist} (@pxref{Creating Frames}). For a detailed
description of frame parameters and customization, see @ref{Frame
Parameters,,, elisp, The Emacs Lisp Reference Manual}. Parameters,,, elisp, The Emacs Lisp Reference Manual}.
@node Scroll Bars @node Scroll Bars
......
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